Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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 1.584/1.584, allocations: 287.4 MB / 302.6 MB, free: 8.297 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.00115/0.00115, allocations: 182.3 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008466/0.0008466, allocations: 107.5 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004284, allocations: 15.92 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03275/0.2755, allocations: 37.43 MB / 1.015 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.024/0.2995, allocations: 14.41 MB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004776/0.3044, allocations: 159.1 kB / 1.03 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.3073, allocations: 0.8293 MB / 1.03 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006991/0.3143, allocations: 2.336 MB / 1.033 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005982/0.3203, allocations: 1.896 MB / 1.034 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01548/0.3358, allocations: 12.76 MB / 1.047 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02611/0.3619, allocations: 15.56 MB / 1.062 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009346/0.3713, allocations: 3.552 MB / 1.066 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5158/0.8872, allocations: 4.633 MB / 1.07 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004485/0.8917, allocations: 397.8 kB / 1.071 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007034/0.8988, allocations: 0.8899 MB / 1.071 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.009745/0.9086, allocations: 2.958 MB / 1.074 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007125/0.9157, allocations: 1.383 MB / 1.076 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02331/0.939, allocations: 11.75 MB / 1.087 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.9391, allocations: 0 / 1.087 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.218e-06/0.9391, allocations: 0 / 1.087 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000797/0.9399, allocations: 5.281 kB / 1.087 GB, free: 24.52 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02804/0.968, allocations: 6.149 MB / 1.093 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.9681, allocations: 13.12 kB / 1.093 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005802/0.9739, allocations: 0.8921 MB / 1.094 GB, free: 21.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/0.9873, allocations: 1.521 MB / 1.095 GB, free: 21.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/1.001, allocations: 4.214 MB / 1.1 GB, free: 20.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000586/1.001, allocations: 458.8 kB / 1.1 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003943/1.005, allocations: 0.5915 MB / 1.101 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/1.04, allocations: 10.63 MB / 1.111 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/1.04, allocations: 29 kB / 1.111 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002462/1.043, allocations: 274.3 kB / 1.111 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/1.046, allocations: 0.7728 MB / 1.112 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/1.069, allocations: 8.512 MB / 1.12 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07853/1.148, allocations: 46.98 MB / 1.166 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007391/1.155, allocations: 4.289 MB / 1.17 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007487/1.163, allocations: 3.683 MB / 1.174 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/1.163, allocations: 37.88 kB / 1.174 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.974e-05/1.163, allocations: 71.03 kB / 1.174 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 8.206e-06/1.164, allocations: 0 / 1.174 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.5317/1.695, allocations: 128 MB / 1.299 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.695, allocations: 111.9 kB / 1.299 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005101/1.7, allocations: 2.657 MB / 1.302 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001457/1.702, allocations: 125.7 kB / 1.302 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.704, allocations: 2.667 MB / 1.305 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003162/1.707, allocations: 1.959 MB / 1.306 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/1.708, allocations: 110.7 kB / 1.307 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004197/1.709, allocations: 0.5257 MB / 1.307 GB, free: 68 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007207/1.716, allocations: 4.056 MB / 1.311 GB, free: 12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008122/1.724, allocations: 4.994 MB / 1.316 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/1.741, allocations: 9.813 MB / 1.326 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/1.742, allocations: 8 kB / 1.326 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04784/1.789, allocations: 16.93 MB / 1.342 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/1.789, allocations: 16.22 kB / 1.342 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.281e-05/1.79, allocations: 28 kB / 1.342 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03864/1.828, allocations: 9.057 MB / 1.351 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/1.831, allocations: 0.5276 MB / 1.351 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1038/1.935, allocations: 70.61 MB / 1.42 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00681/1.941, allocations: 279.8 kB / 1.421 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/1.944, allocations: 192 kB / 1.421 GB, free: 9.863 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008696/1.952, allocations: 2.431 MB / 1.423 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/1.955, allocations: 470.5 kB / 1.424 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5086/2.463, allocations: 16.77 MB / 1.44 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-05/2.463, allocations: 59.16 kB / 1.44 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003724/2.464, allocations: 70.75 kB / 1.44 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001291/2.464, allocations: 31.55 kB / 1.44 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0572/2.521, allocations: 25.64 MB / 1.465 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.825e-05/2.521, allocations: 10.41 kB / 1.465 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/2.523, allocations: 316.1 kB / 1.466 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02853/2.552, allocations: 8.265 MB / 1.474 GB, free: 329.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001397/2.553, allocations: 110.4 kB / 1.474 GB, free: 329.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08593/2.639, allocations: 67.46 MB / 1.54 GB, free: 275.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.639, allocations: 8 kB / 1.54 GB, free: 275.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04061/2.68, allocations: 21.5 MB / 1.561 GB, free: 253.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003997/2.684, allocations: 1.362 MB / 1.562 GB, free: 252.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/2.686, allocations: 110.8 kB / 1.562 GB, free: 252.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004584/2.69, allocations: 287.6 kB / 1.562 GB, free: 252.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001974/2.692, allocations: 0.5221 MB / 1.563 GB, free: 251.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005465/2.693, allocations: 144 kB / 1.563 GB, free: 251.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002503/2.695, allocations: 1.757 MB / 1.565 GB, free: 249.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/2.695, allocations: 0 / 1.565 GB, free: 249.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009645/2.705, allocations: 2.438 MB / 1.567 GB, free: 247.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03963/2.745, allocations: 22.21 MB / 1.589 GB, free: 224.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02445/2.769, allocations: 14.48 MB / 1.603 GB, free: 210.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/2.769, allocations: 4.25 kB / 1.603 GB, free: 210.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01782/2.787, allocations: 9.371 MB / 1.612 GB, free: 200.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/2.8, allocations: 1.259 MB / 1.613 GB, free: 199.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1074/2.907, allocations: 55.86 MB / 1.668 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006682/2.914, allocations: 4.892 MB / 1.673 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003189/2.917, allocations: 0.7449 MB / 1.673 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003304/2.921, allocations: 2.601 MB / 1.676 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of SimCode: time 9.32e-07/2.921, allocations: 0 / 1.676 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9411/3.862, allocations: 185.8 MB / 1.857 GB, free: 293 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/3.862, allocations: 237.2 kB / 1.858 GB, free: 292.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/11.72, allocations: 2.188 kB / 1.858 GB, free: 292.7 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)