Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 197.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002004, allocations: 282.3 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 92.06 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1808, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03989/0.2208, allocations: 37.23 MB / 0.7161 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.2441, allocations: 12.94 MB / 0.7287 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.2492, allocations: 155.1 kB / 0.7289 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.2593, allocations: 3.627 MB / 0.7324 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008058/0.2674, allocations: 2.302 MB / 0.7347 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.2746, allocations: 2.464 MB / 0.7371 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.2873, allocations: 9.614 MB / 0.7465 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/0.3047, allocations: 12.74 MB / 0.7589 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007636/0.3124, allocations: 4.057 MB / 0.7629 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008548/0.3209, allocations: 4.584 MB / 0.7674 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002315/0.3233, allocations: 0.7695 MB / 0.7681 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.3279, allocations: 1.787 MB / 0.7699 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003885/0.3318, allocations: 3.033 MB / 0.7728 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.6437/0.9755, allocations: 3.579 MB / 0.7763 GB, free: 32.53 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01584/0.9913, allocations: 11.88 MB / 0.7879 GB, free: 32.2 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.9914, allocations: 0 / 0.7879 GB, free: 32.2 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9914, allocations: 0 / 0.7879 GB, free: 32.2 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004124/0.9918, allocations: 0 / 0.7879 GB, free: 32.2 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01842/1.01, allocations: 6.358 MB / 0.7941 GB, free: 29.91 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.01, allocations: 12.91 kB / 0.7941 GB, free: 29.91 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001398/1.012, allocations: 0.7466 MB / 0.7949 GB, free: 29.84 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008238/1.02, allocations: 1.302 MB / 0.7961 GB, free: 29.52 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008874/1.029, allocations: 3.568 MB / 0.7996 GB, free: 28.74 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/1.029, allocations: 377.6 kB / 0.8 GB, free: 28.73 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002673/1.032, allocations: 0.5018 MB / 0.8005 GB, free: 28.72 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0271/1.059, allocations: 8.884 MB / 0.8091 GB, free: 27.66 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003753/1.059, allocations: 29 kB / 0.8092 GB, free: 27.65 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003691/1.063, allocations: 224.2 kB / 0.8094 GB, free: 27.65 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/1.066, allocations: 0.6347 MB / 0.81 GB, free: 27.64 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/1.088, allocations: 7.015 MB / 0.8169 GB, free: 25.41 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06208/1.151, allocations: 40.33 MB / 0.8562 GB, free: 6.07 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/1.155, allocations: 2.892 MB / 0.8591 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003781/1.159, allocations: 2.664 MB / 0.8617 GB, free: 3.109 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/1.159, allocations: 29.34 kB / 0.8617 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/1.159, allocations: 78.89 kB / 0.8618 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=265): time 5.01e-06/1.159, allocations: 0 / 0.8618 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of matching and sorting (n=424): time 0.2887/1.448, allocations: 74.72 MB / 0.9347 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/1.448, allocations: 98.72 kB / 0.9348 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/1.452, allocations: 2.356 MB / 0.9371 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009469/1.453, allocations: 97.7 kB / 0.9372 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/1.455, allocations: 2.332 MB / 0.9395 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002034/1.457, allocations: 1.443 MB / 0.9409 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/1.459, allocations: 0.7215 MB / 0.9416 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/1.459, allocations: 305.1 kB / 0.9419 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/1.463, allocations: 2.995 MB / 0.9448 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005137/1.469, allocations: 3.842 MB / 0.9486 GB, free: 13.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.479, allocations: 7.383 MB / 0.9558 GB, free: 5.453 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/1.479, allocations: 8 kB / 0.9558 GB, free: 5.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02919/1.509, allocations: 12.57 MB / 0.9681 GB, free: 9.09 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.509, allocations: 16 kB / 0.9681 GB, free: 9.074 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.509, allocations: 24 kB / 0.9681 GB, free: 9.051 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02293/1.532, allocations: 6.062 MB / 0.974 GB, free: 2.941 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.534, allocations: 499.4 kB / 0.9745 GB, free: 2.484 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08417/1.618, allocations: 73.04 MB / 1.046 GB, free: 6.395 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/1.622, allocations: 215.8 kB / 1.046 GB, free: 6.184 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/1.623, allocations: 152.2 kB / 1.046 GB, free: 6.035 MB / 0.7638 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003751/1.627, allocations: 1.989 MB / 1.048 GB, free: 4.07 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009117/1.628, allocations: 395.3 kB / 1.049 GB, free: 3.68 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3182/1.946, allocations: 12.23 MB / 1.06 GB, free: 269.1 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/1.946, allocations: 41.53 kB / 1.06 GB, free: 269.1 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001368/1.946, allocations: 48.59 kB / 1.061 GB, free: 269.1 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-05/1.946, allocations: 24 kB / 1.061 GB, free: 269.1 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03833/1.984, allocations: 19.14 MB / 1.079 GB, free: 264.1 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/1.984, allocations: 7.406 kB / 1.079 GB, free: 264.1 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.986, allocations: 287.8 kB / 1.08 GB, free: 264 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01899/2.005, allocations: 5.628 MB / 1.085 GB, free: 262.7 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000563/2.006, allocations: 82.81 kB / 1.085 GB, free: 262.6 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06547/2.071, allocations: 70.66 MB / 1.154 GB, free: 200.3 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/2.071, allocations: 15.22 kB / 1.154 GB, free: 200.3 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02712/2.098, allocations: 15.62 MB / 1.169 GB, free: 184.7 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/2.101, allocations: 1.037 MB / 1.17 GB, free: 183.6 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/2.101, allocations: 83.98 kB / 1.17 GB, free: 183.6 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/2.104, allocations: 215.7 kB / 1.171 GB, free: 183.4 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/2.105, allocations: 410.2 kB / 1.171 GB, free: 182.9 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/2.105, allocations: 108 kB / 1.171 GB, free: 182.8 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.001793/2.107, allocations: 1.556 MB / 1.173 GB, free: 181.3 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.6e-07/2.107, allocations: 0 / 1.173 GB, free: 181.3 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.005336/2.113, allocations: 1.863 MB / 1.174 GB, free: 179.4 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02609/2.139, allocations: 16.29 MB / 1.19 GB, free: 162.9 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.162, allocations: 14.98 MB / 1.205 GB, free: 147.7 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/2.162, allocations: 0 / 1.205 GB, free: 147.7 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.01329/2.175, allocations: 8.354 MB / 1.213 GB, free: 139 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/2.181, allocations: 1.197 MB / 1.214 GB, free: 137.9 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/2.282, allocations: 62.71 MB / 1.276 GB, free: 71.09 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/2.286, allocations: 4.091 MB / 1.28 GB, free: 66.96 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002391/2.289, allocations: 0.663 MB / 1.28 GB, free: 66.3 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/2.291, allocations: 2.132 MB / 1.282 GB, free: 64.16 MB / 0.7638 GB Notification: Performance of SimCode: time 7.62e-07/2.291, allocations: 0 / 1.282 GB, free: 64.16 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.623/2.914, allocations: 152.2 MB / 1.431 GB, free: 206.8 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/2.914, allocations: 260 kB / 1.431 GB, free: 206.5 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.171/8.085, allocations: 0 / 1.431 GB, free: 206.5 MB / 0.7638 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)