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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.637/2.637, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001555/0.001555, allocations: 192.4 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.084/2.084, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001172/0.001171, allocations: 102 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007124/0.0007126, allocations: 16.56 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2238, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9952/1.219, allocations: 184.8 MB / 1.159 GB, free: 14.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/1.22, allocations: 102.9 kB / 1.159 GB, free: 14.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.161/2.38, allocations: 268.9 MB / 1.421 GB, free: 11.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/2.38, allocations: 0 / 1.421 GB, free: 11.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006554/2.381, allocations: 147.9 kB / 1.422 GB, free: 10.93 MB / 0.948 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.02591/2.407, allocations: 5.138 MB / 1.427 GB, free: 5.715 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/2.407, allocations: 8.031 kB / 1.427 GB, free: 5.707 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004282/2.411, allocations: 0.7556 MB / 1.427 GB, free: 4.941 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/2.43, allocations: 1.499 MB / 1.429 GB, free: 3.434 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7314/3.161, allocations: 4.211 MB / 1.433 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008041/3.162, allocations: 380.5 kB / 1.433 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/3.165, allocations: 0.5046 MB / 1.434 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03141/3.197, allocations: 8.374 MB / 1.442 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004429/3.197, allocations: 27.31 kB / 1.442 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002685/3.2, allocations: 229.9 kB / 1.442 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007613/3.201, allocations: 325 kB / 1.443 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/3.225, allocations: 6.448 MB / 1.449 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0785/3.303, allocations: 40.02 MB / 1.488 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007454/3.311, allocations: 2.807 MB / 1.491 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/3.311, allocations: 28.81 kB / 1.491 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/3.312, allocations: 69.69 kB / 1.491 GB, free: 177.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 6.402e-06/3.312, allocations: 0 / 1.491 GB, free: 177.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=424): time 0.5035/3.815, allocations: 64.9 MB / 1.554 GB, free: 172 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/3.815, allocations: 98.95 kB / 1.554 GB, free: 172 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004266/3.82, allocations: 1.942 MB / 1.556 GB, free: 171.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/3.821, allocations: 90.89 kB / 1.556 GB, free: 171.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/3.823, allocations: 2.334 MB / 1.558 GB, free: 170.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/3.825, allocations: 1.443 MB / 1.56 GB, free: 170 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008149/3.826, allocations: 88.62 kB / 1.56 GB, free: 170 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003397/3.826, allocations: 484.2 kB / 1.56 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007317/3.834, allocations: 2.774 MB / 1.563 GB, free: 169.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00843/3.842, allocations: 3.749 MB / 1.567 GB, free: 168.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008582/3.851, allocations: 3.363 MB / 1.57 GB, free: 166.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-05/3.851, allocations: 7.875 kB / 1.57 GB, free: 166.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04825/3.899, allocations: 11.78 MB / 1.582 GB, free: 162.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/3.899, allocations: 18.62 kB / 1.582 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/3.899, allocations: 26.31 kB / 1.582 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03187/3.931, allocations: 5.011 MB / 1.587 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/3.935, allocations: 0.4993 MB / 1.587 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1255/4.061, allocations: 66.89 MB / 1.652 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008429/4.069, allocations: 185.9 kB / 1.653 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/4.071, allocations: 164 kB / 1.653 GB, free: 109.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009327/4.081, allocations: 2.008 MB / 1.655 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002602/4.083, allocations: 391.4 kB / 1.655 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05557/4.139, allocations: 11.54 MB / 1.666 GB, free: 98.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/4.139, allocations: 40 kB / 1.666 GB, free: 98.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001794/4.139, allocations: 49.69 kB / 1.666 GB, free: 98.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001212/4.139, allocations: 26.45 kB / 1.666 GB, free: 98.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06065/4.2, allocations: 17.88 MB / 1.684 GB, free: 84.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-05/4.2, allocations: 8 kB / 1.684 GB, free: 84.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/4.203, allocations: 289.8 kB / 1.684 GB, free: 84.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02796/4.231, allocations: 4.522 MB / 1.689 GB, free: 80.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/4.232, allocations: 80 kB / 1.689 GB, free: 80.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1114/4.344, allocations: 64.42 MB / 1.752 GB, free: 18.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/4.344, allocations: 11.94 kB / 1.752 GB, free: 18.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04948/4.393, allocations: 15.28 MB / 1.766 GB, free: 5.242 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003955/4.397, allocations: 0.9715 MB / 1.767 GB, free: 4.348 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002059/4.399, allocations: 87.14 kB / 1.767 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/4.405, allocations: 173.6 kB / 1.768 GB, free: 4.145 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002603/4.407, allocations: 400.7 kB / 1.768 GB, free: 3.895 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001039/4.409, allocations: 107.8 kB / 1.768 GB, free: 3.793 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00353/4.412, allocations: 1.464 MB / 1.77 GB, free: 2.582 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/4.412, allocations: 0 / 1.77 GB, free: 2.582 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01/4.422, allocations: 1.752 MB / 1.771 GB, free: 0.832 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.9015/5.324, allocations: 17.73 MB / 1.789 GB, free: 191.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.05105/5.375, allocations: 11.64 MB / 1.8 GB, free: 188.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/5.375, allocations: 1.344 kB / 1.8 GB, free: 188.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.03735/5.412, allocations: 8.084 MB / 1.808 GB, free: 185.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01263/5.425, allocations: 0.9714 MB / 1.809 GB, free: 185.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1949/5.62, allocations: 59.93 MB / 1.867 GB, free: 154 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01511/5.635, allocations: 4.194 MB / 1.871 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006201/5.641, allocations: 0.672 MB / 1.872 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00668/5.648, allocations: 2.138 MB / 1.874 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.604e-06/5.648, allocations: 0 / 1.874 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3438/5.992, allocations: 136.4 MB / 2.007 GB, free: 120 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/5.992, allocations: 233.6 kB / 2.008 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/13.16, allocations: 0 / 2.008 GB, free: 119.8 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)