Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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 1.674/1.674, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.001113/0.001113, allocations: 187.2 kB / 371.1 MB, free: 10.8 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.76/1.76, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.001075/0.001075, allocations: 86.34 kB / 0.7431 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12.95 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007685/0.2428, allocations: 9.011 MB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004186/0.2471, allocations: 2.934 MB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.2478, allocations: 31.81 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.2482, allocations: 170.7 kB / 0.9906 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.2494, allocations: 0.5873 MB / 0.9912 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.2503, allocations: 443.2 kB / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.2525, allocations: 3.182 MB / 0.9947 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.2561, allocations: 3.082 MB / 0.9977 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.2576, allocations: 0.8562 MB / 0.9986 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.259, allocations: 1.254 MB / 0.9998 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.2591, allocations: 100 kB / 0.9999 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006366/0.2598, allocations: 247.8 kB / 1 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006109/0.2604, allocations: 0.8418 MB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.2607, allocations: 356.8 kB / 1.001 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.2624, allocations: 2.79 MB / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2624, allocations: 0 / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2624, allocations: 0 / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.092e-05/0.2625, allocations: 4 kB / 1.004 GB, free: 2.047 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002434/0.2649, allocations: 1.604 MB / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.265, allocations: 8.031 kB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.2652, allocations: 244.8 kB / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.2705, allocations: 0.8883 MB / 1.007 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.2726, allocations: 1.114 MB / 1.008 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.2727, allocations: 111.3 kB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.273, allocations: 148.3 kB / 1.008 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005124/0.2781, allocations: 3.009 MB / 1.011 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.2782, allocations: 3.938 kB / 1.011 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.2784, allocations: 63.97 kB / 1.011 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002281/0.2786, allocations: 175 kB / 1.011 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.2827, allocations: 2.592 MB / 1.014 GB, free: 7.883 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.2979, allocations: 13.52 MB / 1.027 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2998, allocations: 1.291 MB / 1.028 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3012, allocations: 1.05 MB / 1.029 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.3013, allocations: 12.66 kB / 1.029 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3013, allocations: 39.22 kB / 1.029 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 3.767e-06/0.3013, allocations: 0 / 1.029 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.06815/0.3695, allocations: 19.46 MB / 1.048 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3696, allocations: 68.66 kB / 1.048 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3709, allocations: 0.9105 MB / 1.049 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.3711, allocations: 45.7 kB / 1.049 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.3716, allocations: 0.7283 MB / 1.05 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.372, allocations: 489 kB / 1.05 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3721, allocations: 32 kB / 1.05 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.3723, allocations: 418.7 kB / 1.051 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.3742, allocations: 1.335 MB / 1.052 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.3761, allocations: 1.647 MB / 1.054 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.3802, allocations: 3.081 MB / 1.057 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3802, allocations: 4 kB / 1.057 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01131/0.3915, allocations: 5.621 MB / 1.062 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.3916, allocations: 17.34 kB / 1.062 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.3916, allocations: 8 kB / 1.062 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008587/0.4002, allocations: 2.719 MB / 1.065 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/0.4013, allocations: 187.7 kB / 1.065 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4783/0.8796, allocations: 23.31 MB / 1.088 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.8811, allocations: 95.52 kB / 1.088 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.8813, allocations: 55.5 kB / 1.088 GB, free: 74.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.8826, allocations: 0.7382 MB / 1.089 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.8829, allocations: 111.6 kB / 1.089 GB, free: 73.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.8949, allocations: 5.388 MB / 1.094 GB, free: 72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.895, allocations: 13.44 kB / 1.094 GB, free: 72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.698e-05/0.8951, allocations: 19.72 kB / 1.094 GB, free: 72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-05/0.8951, allocations: 7.266 kB / 1.094 GB, free: 72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.9113, allocations: 8.618 MB / 1.103 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.9114, allocations: 3.406 kB / 1.103 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.9119, allocations: 121.3 kB / 1.103 GB, free: 69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008261/0.9202, allocations: 2.525 MB / 1.105 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.9204, allocations: 26.31 kB / 1.105 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/0.9502, allocations: 20.86 MB / 1.126 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9503, allocations: 7.812 kB / 1.126 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009549/0.9598, allocations: 5.115 MB / 1.131 GB, free: 50.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009457/0.9608, allocations: 479.5 kB / 1.131 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/0.9612, allocations: 28 kB / 1.131 GB, free: 49.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.9623, allocations: 79.89 kB / 1.131 GB, free: 49.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/0.9628, allocations: 125 kB / 1.131 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9629, allocations: 32 kB / 1.131 GB, free: 49.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007739/0.9637, allocations: 0.6434 MB / 1.132 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9637, allocations: 0 / 1.132 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002541/0.9663, allocations: 0.7216 MB / 1.133 GB, free: 48.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009245/0.9755, allocations: 5.701 MB / 1.138 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006482/0.9821, allocations: 4.146 MB / 1.142 GB, free: 38.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.9821, allocations: 0 / 1.142 GB, free: 38.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.9868, allocations: 2.651 MB / 1.145 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.9885, allocations: 215.5 kB / 1.145 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/1.01, allocations: 14.43 MB / 1.159 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/1.011, allocations: 1.7 MB / 1.161 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000774/1.012, allocations: 329.4 kB / 1.161 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/1.012, allocations: 0.5344 MB / 1.162 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/1.012, allocations: 4 kB / 1.162 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/1.085, allocations: 48.84 MB / 1.209 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.085, allocations: 232.7 kB / 1.21 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/4.021, allocations: 0 / 1.21 GB, free: 1.145 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)