Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.6/2.6, allocations: 287.3 MB / 302.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.00157, allocations: 191.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 89.17 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007389/0.0007392, allocations: 10.75 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2205, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01323/0.2337, allocations: 8.756 MB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007159/0.241, allocations: 3.063 MB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.242, allocations: 27.81 kB / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.2428, allocations: 182.9 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.2449, allocations: 0.4907 MB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.2469, allocations: 0.5254 MB / 0.991 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.2497, allocations: 1.434 MB / 0.9924 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005306/0.2551, allocations: 2.708 MB / 0.9951 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.2568, allocations: 0.8099 MB / 0.9959 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.2588, allocations: 0.9972 MB / 0.9968 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005002/0.2594, allocations: 112 kB / 0.997 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2605, allocations: 219.8 kB / 0.9972 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.2619, allocations: 0.8381 MB / 0.998 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006887/0.2626, allocations: 388.7 kB / 0.9984 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.2665, allocations: 2.965 MB / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2666, allocations: 0 / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2666, allocations: 0 / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001056/0.2667, allocations: 0 / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005538/0.2722, allocations: 1.783 MB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2723, allocations: 12.03 kB / 1.003 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009076/0.2732, allocations: 257.1 kB / 1.003 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.2885, allocations: 1.426 MB / 1.005 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/0.2922, allocations: 1.227 MB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.2925, allocations: 111 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008677/0.2933, allocations: 152 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.304, allocations: 3.409 MB / 1.009 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.723e-05/0.3042, allocations: 7.938 kB / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004901/0.3047, allocations: 71.92 kB / 1.009 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004656/0.3052, allocations: 203.1 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.3153, allocations: 3.116 MB / 1.013 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/0.348, allocations: 13.58 MB / 1.026 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004925/0.353, allocations: 1.713 MB / 1.028 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.3533, allocations: 16.98 kB / 1.028 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.3534, allocations: 43.56 kB / 1.028 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.637e-06/0.3534, allocations: 0 / 1.028 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.2845/0.6379, allocations: 35.94 MB / 1.063 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.6381, allocations: 69.41 kB / 1.063 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.6403, allocations: 1.053 MB / 1.064 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005719/0.6409, allocations: 53.7 kB / 1.064 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008161/0.6418, allocations: 0.7836 MB / 1.065 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6429, allocations: 0.6277 MB / 1.065 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.6433, allocations: 36 kB / 1.065 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002576/0.6435, allocations: 393.9 kB / 1.066 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6365/1.28, allocations: 1.919 MB / 1.068 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/1.286, allocations: 2.278 MB / 1.07 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.292, allocations: 2.214 MB / 1.072 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/1.292, allocations: 2.906 kB / 1.072 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.03985/1.332, allocations: 8.999 MB / 1.081 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/1.332, allocations: 8.25 kB / 1.081 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.332, allocations: 9.625 kB / 1.081 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03371/1.366, allocations: 4.976 MB / 1.086 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.368, allocations: 193.2 kB / 1.086 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09343/1.461, allocations: 36.83 MB / 1.122 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/1.465, allocations: 107.7 kB / 1.122 GB, free: 59.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/1.465, allocations: 67.47 kB / 1.122 GB, free: 59.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002006/1.467, allocations: 0.8125 MB / 1.123 GB, free: 58.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/1.468, allocations: 140.1 kB / 1.123 GB, free: 58.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03418/1.502, allocations: 8.878 MB / 1.132 GB, free: 50.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.502, allocations: 20 kB / 1.132 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.366e-05/1.502, allocations: 31.95 kB / 1.132 GB, free: 50.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.141e-05/1.502, allocations: 7.969 kB / 1.132 GB, free: 50.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04523/1.547, allocations: 13.13 MB / 1.144 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/1.547, allocations: 11.89 kB / 1.144 GB, free: 37.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/1.548, allocations: 119.9 kB / 1.145 GB, free: 37.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02991/1.578, allocations: 4.745 MB / 1.149 GB, free: 32.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005221/1.579, allocations: 36 kB / 1.149 GB, free: 32.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08056/1.659, allocations: 32.98 MB / 1.181 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.659, allocations: 7.938 kB / 1.181 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03682/1.696, allocations: 8.561 MB / 1.19 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.699, allocations: 0.616 MB / 1.19 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007255/1.7, allocations: 36 kB / 1.19 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.702, allocations: 91.84 kB / 1.191 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/1.704, allocations: 169.4 kB / 1.191 GB, free: 5.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/1.704, allocations: 48 kB / 1.191 GB, free: 5.312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00179/1.706, allocations: 0.7304 MB / 1.191 GB, free: 4.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.706, allocations: 0 / 1.191 GB, free: 4.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005734/1.712, allocations: 0.9922 MB / 1.192 GB, free: 3.578 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03817/1.75, allocations: 10.17 MB / 1.202 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0185/1.768, allocations: 5.847 MB / 1.208 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.769, allocations: 0 / 1.208 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01447/1.783, allocations: 3.777 MB / 1.212 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.785, allocations: 196.9 kB / 1.212 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0736/1.859, allocations: 26.67 MB / 1.238 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003217/1.862, allocations: 1.891 MB / 1.24 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00164/1.864, allocations: 355.4 kB / 1.24 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.865, allocations: 0.6047 MB / 1.241 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of SimCode: time 1.643e-06/1.865, allocations: 0 / 1.241 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/2.044, allocations: 69.72 MB / 1.309 GB, free: 11.87 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003691/2.044, allocations: 234.1 kB / 1.309 GB, free: 11.63 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.115/6.16, allocations: 0 / 1.309 GB, free: 11.63 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)