Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.46/1.46, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.0008298/0.0008298, allocations: 184.5 kB / 372.3 MB, free: 10.14 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.304/1.304, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006408/0.0006408, allocations: 94.86 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 13.28 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02429/0.1728, allocations: 34.17 MB / 1.014 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.1887, allocations: 12.45 MB / 1.026 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.191, allocations: 143.1 kB / 1.026 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.1929, allocations: 0.7402 MB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.1975, allocations: 2.177 MB / 1.029 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.2016, allocations: 1.726 MB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009652/0.2113, allocations: 10.7 MB / 1.041 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01638/0.2277, allocations: 13.03 MB / 1.054 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004606/0.2323, allocations: 2.953 MB / 1.056 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006962/0.2393, allocations: 3.761 MB / 1.06 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.2408, allocations: 316 kB / 1.06 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.2445, allocations: 1.571 MB / 1.062 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.2474, allocations: 2.435 MB / 1.064 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.2503, allocations: 2.813 MB / 1.067 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.3264/0.5768, allocations: 9.769 MB / 1.077 GB, free: 31.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5768, allocations: 0 / 1.077 GB, free: 31.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5768, allocations: 0 / 1.077 GB, free: 31.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003431/0.5772, allocations: 0 / 1.077 GB, free: 31.24 MB / 0.6823 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.01378/0.591, allocations: 5.141 MB / 1.082 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.591, allocations: 10.31 kB / 1.082 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002391/0.5934, allocations: 0.7491 MB / 1.082 GB, free: 28.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007466/0.6009, allocations: 1.297 MB / 1.084 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/0.6069, allocations: 3.573 MB / 1.087 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.6072, allocations: 380.6 kB / 1.088 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008097/0.608, allocations: 0.4944 MB / 1.088 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.6203, allocations: 8.841 MB / 1.097 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.6204, allocations: 34.25 kB / 1.097 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005252/0.621, allocations: 223.1 kB / 1.097 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001937/0.6229, allocations: 0.634 MB / 1.097 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.6331, allocations: 6.975 MB / 1.104 GB, free: 26.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/0.6681, allocations: 40.4 MB / 1.144 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.6714, allocations: 2.888 MB / 1.147 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.6743, allocations: 2.661 MB / 1.149 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.6745, allocations: 35.42 kB / 1.149 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.6746, allocations: 64.72 kB / 1.149 GB, free: 11.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 4.478e-06/0.6746, allocations: 4 kB / 1.149 GB, free: 11.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2587/0.9333, allocations: 77.43 MB / 1.225 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.9334, allocations: 102.7 kB / 1.225 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.9358, allocations: 2.328 MB / 1.227 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002864/0.9361, allocations: 93.7 kB / 1.227 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.9373, allocations: 2.347 MB / 1.23 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009749/0.9383, allocations: 1.43 MB / 1.231 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.9386, allocations: 88 kB / 1.231 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.9388, allocations: 487.2 kB / 1.232 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.9425, allocations: 2.98 MB / 1.235 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004174/0.9467, allocations: 3.826 MB / 1.238 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008527/0.9552, allocations: 7.353 MB / 1.245 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.9553, allocations: 8 kB / 1.245 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02457/0.9798, allocations: 12.51 MB / 1.258 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.9799, allocations: 16 kB / 1.258 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.9799, allocations: 24.12 kB / 1.258 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/1, allocations: 6.009 MB / 1.264 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.002, allocations: 497.6 kB / 1.264 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07181/1.074, allocations: 67.22 MB / 1.33 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/1.078, allocations: 211.8 kB / 1.33 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/1.078, allocations: 160 kB / 1.33 GB, free: 8.824 MB / 0.8698 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 (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,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003641/1.082, allocations: 1.99 MB / 1.332 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007205/1.083, allocations: 391.4 kB / 1.332 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/1.107, allocations: 12.2 MB / 1.344 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/1.107, allocations: 44 kB / 1.344 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.431e-05/1.107, allocations: 51.94 kB / 1.344 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/1.107, allocations: 20.39 kB / 1.344 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0341/1.141, allocations: 19.13 MB / 1.363 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/1.142, allocations: 8 kB / 1.363 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.143, allocations: 289.5 kB / 1.363 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01961/1.163, allocations: 5.569 MB / 1.369 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005506/1.163, allocations: 80 kB / 1.369 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4097/1.573, allocations: 64.83 MB / 1.432 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.573, allocations: 11.47 kB / 1.432 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.6, allocations: 15.57 MB / 1.447 GB, free: 331.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/1.602, allocations: 1.045 MB / 1.448 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.603, allocations: 85.47 kB / 1.448 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.605, allocations: 216.2 kB / 1.449 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/1.606, allocations: 409.8 kB / 1.449 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002526/1.607, allocations: 107.5 kB / 1.449 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00165/1.608, allocations: 1.531 MB / 1.451 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/1.608, allocations: 3.906 kB / 1.451 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00461/1.613, allocations: 1.845 MB / 1.452 GB, free: 331.7 MB / 0.9636 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,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02605/1.639, allocations: 16.24 MB / 1.468 GB, free: 325 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.656, allocations: 12.18 MB / 1.48 GB, free: 318.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.656, allocations: 2.656 kB / 1.48 GB, free: 318.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/1.667, allocations: 8.381 MB / 1.488 GB, free: 313.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008078/1.676, allocations: 1.088 MB / 1.489 GB, free: 313.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06065/1.736, allocations: 42.78 MB / 1.531 GB, free: 276.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003723/1.74, allocations: 4.094 MB / 1.535 GB, free: 272.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002064/1.742, allocations: 0.6708 MB / 1.536 GB, free: 271.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.744, allocations: 2.132 MB / 1.538 GB, free: 269.4 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/1.744, allocations: 3.938 kB / 1.538 GB, free: 269.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.501/11.24, allocations: 144.4 MB / 1.679 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/11.24, allocations: 249 kB / 1.679 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.313/16.56, allocations: 3.656 kB / 1.679 GB, free: 125.6 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)