Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.912/1.912, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.00123/0.001229, allocations: 180.9 kB / 366.7 MB, free: 1.637 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.577/1.577, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001095/0.001095, allocations: 89.31 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.909e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6095, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.8467, allocations: 185.3 MB / 1.154 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.8471, allocations: 92.53 kB / 1.154 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.283/2.13, allocations: 297.8 MB / 1.445 GB, free: 97.04 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.924e-06/2.13, allocations: 0 / 1.445 GB, free: 97.04 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005423/2.131, allocations: 140 kB / 1.445 GB, free: 96.91 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02113/2.152, allocations: 4.662 MB / 1.45 GB, free: 92.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/2.152, allocations: 12.03 kB / 1.45 GB, free: 92.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/2.165, allocations: 1.487 MB / 1.451 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/2.177, allocations: 4.226 MB / 1.455 GB, free: 86.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/2.178, allocations: 164 kB / 1.456 GB, free: 86.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002794/2.18, allocations: 295.9 kB / 1.456 GB, free: 85.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0141/2.194, allocations: 5.577 MB / 1.461 GB, free: 80.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/2.219, allocations: 7.538 MB / 1.469 GB, free: 72.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003691/2.219, allocations: 23.78 kB / 1.469 GB, free: 72.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003943/2.223, allocations: 23.95 kB / 1.469 GB, free: 72.29 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005179/2.224, allocations: 326 kB / 1.469 GB, free: 71.97 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05325/2.277, allocations: 38.91 MB / 1.507 GB, free: 29.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/2.281, allocations: 2.716 MB / 1.51 GB, free: 27.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/2.285, allocations: 2.47 MB / 1.512 GB, free: 24.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/2.285, allocations: 30.08 kB / 1.512 GB, free: 24.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/2.285, allocations: 76.59 kB / 1.512 GB, free: 24.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.09e-06/2.285, allocations: 0 / 1.512 GB, free: 24.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.07611/2.362, allocations: 27.33 MB / 1.539 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/2.362, allocations: 94.73 kB / 1.539 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/2.366, allocations: 1.63 MB / 1.541 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/2.367, allocations: 25.7 kB / 1.541 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/2.369, allocations: 2.366 MB / 1.543 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002553/2.372, allocations: 1.382 MB / 1.544 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008634/2.373, allocations: 0 / 1.544 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004635/2.373, allocations: 479.4 kB / 1.545 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005084/2.378, allocations: 2.644 MB / 1.547 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005727/2.384, allocations: 3.587 MB / 1.551 GB, free: 308 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005863/2.39, allocations: 3.234 MB / 1.554 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.984e-05/2.39, allocations: 8 kB / 1.554 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02972/2.42, allocations: 11.16 MB / 1.565 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/2.42, allocations: 16 kB / 1.565 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/2.42, allocations: 28 kB / 1.565 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/2.439, allocations: 4.889 MB / 1.57 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/2.441, allocations: 0.5069 MB / 1.57 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8111/3.252, allocations: 62.26 MB / 1.631 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/3.257, allocations: 96.95 kB / 1.631 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/3.258, allocations: 170.2 kB / 1.631 GB, free: 189.1 MB / 0.9323 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 () * 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.0008671/3.259, allocations: 192.3 kB / 1.631 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0244/3.284, allocations: 10.43 MB / 1.642 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002057/3.286, allocations: 373.1 kB / 1.642 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02735/3.313, allocations: 11 MB / 1.653 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/3.313, allocations: 39.84 kB / 1.653 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002089/3.313, allocations: 48.72 kB / 1.653 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.635e-05/3.313, allocations: 23.5 kB / 1.653 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04302/3.356, allocations: 16.53 MB / 1.669 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/3.357, allocations: 8.969 kB / 1.669 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/3.358, allocations: 295.1 kB / 1.669 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.017/3.375, allocations: 4.416 MB / 1.674 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/3.377, allocations: 17.52 kB / 1.674 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07174/3.448, allocations: 60.02 MB / 1.732 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/3.448, allocations: 14.45 kB / 1.732 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02574/3.474, allocations: 14.71 MB / 1.747 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/3.477, allocations: 0.9534 MB / 1.748 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006989/3.478, allocations: 12.7 kB / 1.748 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/3.48, allocations: 116.9 kB / 1.748 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/3.482, allocations: 396.7 kB / 1.748 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/3.482, allocations: 107.3 kB / 1.748 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001863/3.484, allocations: 1.191 MB / 1.749 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/3.484, allocations: 0 / 1.749 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007441/3.491, allocations: 1.55 MB / 1.751 GB, free: 142.6 MB / 0.9323 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 () * 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.02538/3.517, allocations: 17.1 MB / 1.767 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01863/3.535, allocations: 10.96 MB / 1.778 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-05/3.536, allocations: 0 / 1.778 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/3.55, allocations: 7.585 MB / 1.786 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/3.556, allocations: 0.8812 MB / 1.786 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/3.579, allocations: 11.17 MB / 1.797 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/3.583, allocations: 4.196 MB / 1.801 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002646/3.586, allocations: 0.6567 MB / 1.802 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/3.588, allocations: 2.119 MB / 1.804 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of SimCode: time 6.51e-07/3.588, allocations: 0 / 1.804 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/3.797, allocations: 131.2 MB / 1.932 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/3.797, allocations: 164.5 kB / 1.932 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.535/9.333, allocations: 0 / 1.932 GB, free: 8.422 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)