Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005822, allocations: 17.75 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2585, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02976/0.2884, allocations: 26.66 MB / 0.8132 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.3106, allocations: 12.6 MB / 0.8255 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.3149, allocations: 115.2 kB / 0.8256 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.3183, allocations: 0.6366 MB / 0.8262 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008986/0.3273, allocations: 2.114 MB / 0.8282 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.3324, allocations: 1.211 MB / 0.8294 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007974/0.3404, allocations: 4.023 MB / 0.8334 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01618/0.3566, allocations: 8.526 MB / 0.8417 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/0.3621, allocations: 2.29 MB / 0.8439 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004746/0.3669, allocations: 2.051 MB / 0.8459 GB, free: 15.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.3686, allocations: 244 kB / 0.8462 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.3714, allocations: 0.5892 MB / 0.8467 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/0.3744, allocations: 1.761 MB / 0.8485 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.3767, allocations: 0.9719 MB / 0.8494 GB, free: 11.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3879, allocations: 7.613 MB / 0.8568 GB, free: 4.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3879, allocations: 0 / 0.8568 GB, free: 4.34 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3879, allocations: 4 kB / 0.8568 GB, free: 4.336 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003371/0.3883, allocations: 4 kB / 0.8568 GB, free: 4.332 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01032/0.3986, allocations: 4.162 MB / 0.8609 GB, free: 96 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3987, allocations: 12.03 kB / 0.8609 GB, free: 84 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/0.4047, allocations: 0.9778 MB / 0.8619 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007366/0.4121, allocations: 2.81 MB / 0.8646 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/0.4125, allocations: 316.5 kB / 0.8649 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.4142, allocations: 419.9 kB / 0.8653 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.431, allocations: 6.725 MB / 0.8719 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/0.4313, allocations: 19.78 kB / 0.8719 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/0.4327, allocations: 184 kB / 0.8721 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009834/0.4337, allocations: 368 kB / 0.8724 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.4446, allocations: 5.083 MB / 0.8774 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04232/0.4869, allocations: 30.79 MB / 0.9075 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.4895, allocations: 1.391 MB / 0.9088 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.4897, allocations: 13.31 kB / 0.9088 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.4897, allocations: 51.88 kB / 0.9089 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.4897, allocations: 0 / 0.9089 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.5486/1.038, allocations: 22.77 MB / 0.9311 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/1.038, allocations: 72.38 kB / 0.9312 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/1.041, allocations: 2.041 MB / 0.9332 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003394/1.042, allocations: 66.14 kB / 0.9333 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.043, allocations: 2.006 MB / 0.9352 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007689/1.044, allocations: 0.679 MB / 0.9359 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.044, allocations: 44.88 kB / 0.9359 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.045, allocations: 396 kB / 0.9363 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/1.047, allocations: 1.424 MB / 0.9377 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/1.05, allocations: 1.993 MB / 0.9396 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/1.053, allocations: 1.731 MB / 0.9413 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/1.053, allocations: 8.781 kB / 0.9413 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0114/1.064, allocations: 5.631 MB / 0.9468 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/1.064, allocations: 16.59 kB / 0.9468 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/1.064, allocations: 17.44 kB / 0.9469 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006567/1.071, allocations: 2.081 MB / 0.9489 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.072, allocations: 381.2 kB / 0.9493 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02882/1.101, allocations: 36.26 MB / 0.9847 GB, free: 82.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/1.104, allocations: 127.2 kB / 0.9848 GB, free: 82.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.104, allocations: 91.69 kB / 0.9849 GB, free: 82.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002723/1.107, allocations: 1.511 MB / 0.9864 GB, free: 81.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/1.107, allocations: 282.6 kB / 0.9866 GB, free: 81.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008226/1.116, allocations: 5.187 MB / 0.9917 GB, free: 78.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.116, allocations: 22.36 kB / 0.9917 GB, free: 78.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/1.116, allocations: 22.47 kB / 0.9917 GB, free: 78.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.116, allocations: 7.969 kB / 0.9917 GB, free: 78.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.129, allocations: 9.666 MB / 1.001 GB, free: 68.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.129, allocations: 4 kB / 1.001 GB, free: 68.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/1.13, allocations: 219.6 kB / 1.001 GB, free: 68.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004976/1.135, allocations: 1.852 MB / 1.003 GB, free: 66.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.135, allocations: 36 kB / 1.003 GB, free: 66.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02664/1.162, allocations: 35.27 MB / 1.038 GB, free: 28.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.162, allocations: 11.94 kB / 1.038 GB, free: 28.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008113/1.17, allocations: 5.416 MB / 1.043 GB, free: 23.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.172, allocations: 0.6186 MB / 1.044 GB, free: 22.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/1.172, allocations: 43.98 kB / 1.044 GB, free: 22.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.174, allocations: 131.8 kB / 1.044 GB, free: 22.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/1.174, allocations: 197.5 kB / 1.044 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.174, allocations: 52 kB / 1.044 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001721/1.176, allocations: 1.359 MB / 1.045 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/1.176, allocations: 0 / 1.045 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003612/1.18, allocations: 1.047 MB / 1.046 GB, free: 19.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/1.18, allocations: 179.4 kB / 1.047 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008344/1.188, allocations: 6.251 MB / 1.053 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.188, allocations: 0.875 kB / 1.053 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005749/1.194, allocations: 4.397 MB / 1.057 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.199, allocations: 0.8847 MB / 1.058 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.214, allocations: 9.595 MB / 1.067 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005448/1.22, allocations: 3.205 MB / 1.07 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0029/1.223, allocations: 0.512 MB / 1.071 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/1.223, allocations: 155.4 kB / 1.071 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of SimCode: time 1.884e-06/1.223, allocations: 0 / 1.071 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of Templates: time 0.09848/1.322, allocations: 55.57 MB / 1.125 GB, free: 3.176 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: