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 2.652/2.652, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001547/0.001547, allocations: 188.8 kB / 360.6 MB, free: 7.27 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.288/2.288, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001645/0.001644, allocations: 87.72 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.872e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8286, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/1.139, allocations: 185.1 MB / 1.144 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004069/1.139, allocations: 95.08 kB / 1.144 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.009/3.149, allocations: 317.8 MB / 1.455 GB, free: 88.15 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.865e-06/3.149, allocations: 0 / 1.455 GB, free: 88.15 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007521/3.149, allocations: 167.9 kB / 1.455 GB, free: 87.98 MB / 0.8542 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.02671/3.176, allocations: 5.5 MB / 1.46 GB, free: 82.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/3.176, allocations: 8.031 kB / 1.46 GB, free: 82.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02119/3.197, allocations: 1.767 MB / 1.462 GB, free: 80.63 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02198/3.219, allocations: 5.023 MB / 1.467 GB, free: 75.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/3.22, allocations: 196 kB / 1.467 GB, free: 75.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/3.224, allocations: 359.9 kB / 1.467 GB, free: 74.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02262/3.246, allocations: 6.835 MB / 1.474 GB, free: 68.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/3.279, allocations: 8.987 MB / 1.483 GB, free: 58.67 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004766/3.279, allocations: 27.69 kB / 1.483 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003037/3.282, allocations: 16 kB / 1.483 GB, free: 58.63 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006405/3.283, allocations: 376.1 kB / 1.483 GB, free: 58.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08329/3.366, allocations: 45.12 MB / 1.527 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008336/3.375, allocations: 4.042 MB / 1.531 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007601/3.382, allocations: 3.448 MB / 1.535 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/3.383, allocations: 38.78 kB / 1.535 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/3.383, allocations: 69.33 kB / 1.535 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 7.424e-06/3.383, allocations: 3.984 kB / 1.535 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.1801/3.563, allocations: 37.3 MB / 1.571 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/3.563, allocations: 111.9 kB / 1.571 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/3.568, allocations: 1.821 MB / 1.573 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/3.569, allocations: 25.7 kB / 1.573 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002791/3.572, allocations: 2.708 MB / 1.576 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00354/3.575, allocations: 1.874 MB / 1.578 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/3.576, allocations: 8 kB / 1.578 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004714/3.576, allocations: 0.5297 MB / 1.578 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009244/3.586, allocations: 3.615 MB / 1.582 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/3.596, allocations: 4.697 MB / 1.586 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/3.608, allocations: 4.414 MB / 1.59 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.493e-05/3.608, allocations: 8 kB / 1.59 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.8033/4.411, allocations: 15.16 MB / 1.605 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/4.411, allocations: 20.2 kB / 1.605 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-05/4.411, allocations: 31.69 kB / 1.605 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06223/4.474, allocations: 7.305 MB / 1.612 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/4.478, allocations: 0.5577 MB / 1.613 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1523/4.63, allocations: 65.16 MB / 1.677 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007854/4.638, allocations: 131.7 kB / 1.677 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/4.64, allocations: 203.1 kB / 1.677 GB, free: 164.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001648/4.642, allocations: 187.9 kB / 1.677 GB, free: 164 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05872/4.701, allocations: 14.38 MB / 1.691 GB, free: 159 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002532/4.703, allocations: 448.4 kB / 1.692 GB, free: 158.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0622/4.765, allocations: 15.16 MB / 1.706 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/4.766, allocations: 56.78 kB / 1.706 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001684/4.766, allocations: 71.78 kB / 1.707 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001279/4.766, allocations: 26.53 kB / 1.707 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07986/4.846, allocations: 22.28 MB / 1.728 GB, free: 145 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.547e-05/4.846, allocations: 7.062 kB / 1.728 GB, free: 145 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/4.849, allocations: 330.3 kB / 1.729 GB, free: 144.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04926/4.899, allocations: 6.731 MB / 1.735 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002001/4.901, allocations: 14.09 kB / 1.735 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2021/5.103, allocations: 62.23 MB / 1.796 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.272e-05/5.103, allocations: 14.09 kB / 1.796 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09174/5.195, allocations: 20.16 MB / 1.816 GB, free: 87.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007194/5.202, allocations: 1.239 MB / 1.817 GB, free: 86.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002998/5.205, allocations: 15.89 kB / 1.817 GB, free: 86.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008978/5.214, allocations: 146 kB / 1.817 GB, free: 85.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004202/5.218, allocations: 0.5219 MB / 1.818 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001751/5.22, allocations: 136 kB / 1.818 GB, free: 85.47 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004831/5.225, allocations: 1.33 MB / 1.819 GB, free: 84.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.382e-06/5.225, allocations: 4 kB / 1.819 GB, free: 84.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01852/5.244, allocations: 2.007 MB / 1.821 GB, free: 82.28 MB / 0.9167 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 () * 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,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 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.08526/5.329, allocations: 22.51 MB / 1.843 GB, free: 62.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03915/5.368, allocations: 13.01 MB / 1.856 GB, free: 50.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/5.368, allocations: 2.5 kB / 1.856 GB, free: 50.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.02717/5.395, allocations: 8.486 MB / 1.864 GB, free: 42.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008991/5.404, allocations: 0.9833 MB / 1.865 GB, free: 42.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04709/5.452, allocations: 14.41 MB / 1.879 GB, free: 29.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/5.464, allocations: 5.016 MB / 1.884 GB, free: 25.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005051/5.469, allocations: 0.7237 MB / 1.885 GB, free: 25.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005627/5.474, allocations: 2.58 MB / 1.887 GB, free: 22.87 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/5.474, allocations: 0 / 1.887 GB, free: 22.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/6.641, allocations: 170 MB / 2.053 GB, free: 212.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/6.641, allocations: 171.3 kB / 2.053 GB, free: 212.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/14.86, allocations: 0 / 2.053 GB, free: 212.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)