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.708/1.708, allocations: 289.7 MB / 302.3 MB, free: 2.117 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.001118/0.001118, allocations: 179.1 kB / 371.6 MB, free: 3.418 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.692/1.692, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008753/0.0008753, allocations: 94.73 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.055e-05, allocations: 11.97 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2963, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.324, allocations: 185.9 MB / 1.162 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.325, allocations: 99.02 kB / 1.162 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.586/2.911, allocations: 298.9 MB / 1.454 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.276e-06/2.911, allocations: 0 / 1.454 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000951/2.912, allocations: 155.7 kB / 1.454 GB, free: 159.7 MB / 0.9323 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.02286/2.935, allocations: 4.663 MB / 1.458 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/2.935, allocations: 9.312 kB / 1.458 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005842/2.941, allocations: 0.7447 MB / 1.459 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/2.954, allocations: 1.489 MB / 1.46 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/2.971, allocations: 4.222 MB / 1.465 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/2.971, allocations: 390.2 kB / 1.465 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003417/2.975, allocations: 0.4919 MB / 1.465 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03309/3.008, allocations: 8.284 MB / 1.473 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008201/3.009, allocations: 29.97 kB / 1.474 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004419/3.013, allocations: 229.5 kB / 1.474 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/3.014, allocations: 322.9 kB / 1.474 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/3.035, allocations: 6.33 MB / 1.48 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06696/3.101, allocations: 40.02 MB / 1.519 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/3.106, allocations: 2.774 MB / 1.522 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/3.111, allocations: 2.547 MB / 1.524 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/3.111, allocations: 27.44 kB / 1.525 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/3.111, allocations: 61.56 kB / 1.525 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=265): time 5.77e-06/3.111, allocations: 0 / 1.525 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=424): time 0.2517/3.363, allocations: 60.07 MB / 1.583 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/3.363, allocations: 96.11 kB / 1.583 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004776/3.368, allocations: 1.911 MB / 1.585 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/3.369, allocations: 92.33 kB / 1.585 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/3.371, allocations: 2.338 MB / 1.588 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002524/3.373, allocations: 1.439 MB / 1.589 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/3.375, allocations: 89.28 kB / 1.589 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004326/3.375, allocations: 481.7 kB / 1.59 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005513/3.381, allocations: 2.734 MB / 1.592 GB, free: 107 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005919/3.386, allocations: 3.695 MB / 1.596 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006003/3.392, allocations: 3.327 MB / 1.599 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.687e-05/3.393, allocations: 7.5 kB / 1.599 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02918/3.422, allocations: 11.69 MB / 1.61 GB, free: 95.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/3.422, allocations: 16 kB / 1.61 GB, free: 95.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-05/3.422, allocations: 28 kB / 1.611 GB, free: 95.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/3.44, allocations: 4.988 MB / 1.615 GB, free: 91.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/3.443, allocations: 0.507 MB / 1.616 GB, free: 91.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07181/3.515, allocations: 64.69 MB / 1.679 GB, free: 29.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/3.52, allocations: 188.9 kB / 1.679 GB, free: 28.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/3.521, allocations: 160 kB / 1.679 GB, free: 28.71 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.002291/3.524, allocations: 352 kB / 1.68 GB, free: 28.36 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/3.525, allocations: 387.4 kB / 1.68 GB, free: 27.98 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02632/3.552, allocations: 11.46 MB / 1.691 GB, free: 16.72 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/3.552, allocations: 40 kB / 1.691 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001465/3.552, allocations: 48 kB / 1.691 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.95e-05/3.552, allocations: 27.23 kB / 1.691 GB, free: 16.61 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04227/3.594, allocations: 17.82 MB / 1.709 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.519e-05/3.595, allocations: 8 kB / 1.709 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/3.596, allocations: 296.2 kB / 1.709 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/3.614, allocations: 4.487 MB / 1.713 GB, free: 9.766 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/3.615, allocations: 80 kB / 1.714 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8721/4.487, allocations: 62.22 MB / 1.774 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/4.487, allocations: 10.16 kB / 1.774 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0299/4.517, allocations: 15.18 MB / 1.789 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003545/4.521, allocations: 0.9691 MB / 1.79 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/4.522, allocations: 83.8 kB / 1.79 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003467/4.526, allocations: 178.3 kB / 1.79 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001907/4.528, allocations: 401.1 kB / 1.791 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/4.528, allocations: 107.2 kB / 1.791 GB, free: 132.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002571/4.531, allocations: 1.436 MB / 1.792 GB, free: 131.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/4.531, allocations: 0 / 1.792 GB, free: 131.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008991/4.54, allocations: 1.772 MB / 1.794 GB, free: 131.9 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 () * 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.03067/4.57, allocations: 17.61 MB / 1.811 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02293/4.593, allocations: 11.45 MB / 1.822 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/4.593, allocations: 2.469 kB / 1.822 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01581/4.609, allocations: 7.95 MB / 1.83 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006991/4.616, allocations: 0.9653 MB / 1.831 GB, free: 121.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/4.653, allocations: 11.54 MB / 1.842 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009196/4.662, allocations: 4.191 MB / 1.846 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00396/4.666, allocations: 0.6702 MB / 1.847 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003651/4.67, allocations: 2.136 MB / 1.849 GB, free: 113.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/4.67, allocations: 3 kB / 1.849 GB, free: 113.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2379/4.908, allocations: 136.9 MB / 1.983 GB, free: 78.46 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/4.908, allocations: 199.8 kB / 1.983 GB, free: 78.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.944/10.85, allocations: 0 / 1.983 GB, free: 78.23 MB / 0.948 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)