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.0009765/0.0009763, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001139/0.00114, allocations: 168.7 kB / 15.95 MB, free: 204 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.412/1.412, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.718/1.718, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005964/0.0005967, allocations: 18.55 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2545, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03031/0.2849, allocations: 27.9 MB / 0.8145 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.3049, allocations: 12.82 MB / 0.8271 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.3084, allocations: 119.3 kB / 0.8272 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.3113, allocations: 0.6355 MB / 0.8278 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007778/0.3191, allocations: 2.213 MB / 0.83 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.3236, allocations: 1.192 MB / 0.8311 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.3349, allocations: 8.401 MB / 0.8393 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01453/0.3495, allocations: 8.521 MB / 0.8476 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00609/0.3556, allocations: 2.565 MB / 0.8502 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.3613, allocations: 2.849 MB / 0.8529 GB, free: 8.465 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.3625, allocations: 244 kB / 0.8532 GB, free: 8.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.3655, allocations: 0.6984 MB / 0.8539 GB, free: 7.527 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.3682, allocations: 1.909 MB / 0.8557 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.3703, allocations: 0.968 MB / 0.8567 GB, free: 4.637 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00942/0.3797, allocations: 7.737 MB / 0.8642 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3798, allocations: 0 / 0.8642 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.008e-06/0.3798, allocations: 3.984 kB / 0.8642 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002921/0.3801, allocations: 0 / 0.8642 GB, free: 12.88 MB / 0.6856 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.009129/0.3892, allocations: 4.201 MB / 0.8683 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3893, allocations: 8.031 kB / 0.8683 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.3951, allocations: 1.005 MB / 0.8693 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/0.4011, allocations: 2.81 MB / 0.8721 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.4014, allocations: 324.5 kB / 0.8724 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.4025, allocations: 415.9 kB / 0.8728 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.4159, allocations: 6.752 MB / 0.8794 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.4162, allocations: 27.77 kB / 0.8794 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007621/0.4169, allocations: 184 kB / 0.8796 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.4182, allocations: 376 kB / 0.8799 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009737/0.4279, allocations: 5.083 MB / 0.8849 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03221/0.4602, allocations: 30.78 MB / 0.9149 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.462, allocations: 1.386 MB / 0.9163 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.4636, allocations: 1.332 MB / 0.9176 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.399e-05/0.4637, allocations: 17.3 kB / 0.9176 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4637, allocations: 51.88 kB / 0.9177 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.306e-06/0.4637, allocations: 0 / 0.9177 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.4783/0.942, allocations: 22.78 MB / 0.9399 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.9421, allocations: 73.16 kB / 0.94 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.9453, allocations: 2.043 MB / 0.942 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.9456, allocations: 58.33 kB / 0.942 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.947, allocations: 2.007 MB / 0.944 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.9476, allocations: 0.6812 MB / 0.9446 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.9477, allocations: 45.06 kB / 0.9447 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9479, allocations: 401.6 kB / 0.9451 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.9499, allocations: 1.42 MB / 0.9465 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.9521, allocations: 2.002 MB / 0.9484 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.9543, allocations: 1.728 MB / 0.9501 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.9544, allocations: 4.656 kB / 0.9501 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009328/0.9637, allocations: 5.64 MB / 0.9556 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.9638, allocations: 11.72 kB / 0.9556 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.9638, allocations: 20.98 kB / 0.9556 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/0.9694, allocations: 2.074 MB / 0.9577 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.9709, allocations: 374.6 kB / 0.958 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02714/0.998, allocations: 35.5 MB / 0.9927 GB, free: 77.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.001, allocations: 123.9 kB / 0.9928 GB, free: 77.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.001, allocations: 92 kB / 0.9929 GB, free: 77.27 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.002471/1.003, allocations: 1.508 MB / 0.9944 GB, free: 75.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/1.004, allocations: 280.7 kB / 0.9946 GB, free: 75.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/1.012, allocations: 5.197 MB / 0.9997 GB, free: 70.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.012, allocations: 19.95 kB / 0.9997 GB, free: 70.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.872e-05/1.012, allocations: 20 kB / 0.9998 GB, free: 70.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.012, allocations: 11.95 kB / 0.9998 GB, free: 70.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.026, allocations: 9.658 MB / 1.009 GB, free: 60.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.026, allocations: 7.844 kB / 1.009 GB, free: 60.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/1.027, allocations: 216.3 kB / 1.009 GB, free: 60.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/1.032, allocations: 1.844 MB / 1.011 GB, free: 58.22 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/1.032, allocations: 44 kB / 1.011 GB, free: 58.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/1.058, allocations: 34.51 MB / 1.045 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.058, allocations: 7.938 kB / 1.045 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007739/1.066, allocations: 4.895 MB / 1.05 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.067, allocations: 0.6225 MB / 1.05 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/1.068, allocations: 40 kB / 1.05 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.069, allocations: 131.8 kB / 1.051 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/1.07, allocations: 189.6 kB / 1.051 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.07, allocations: 60.19 kB / 1.051 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001621/1.071, allocations: 1.355 MB / 1.052 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/1.071, allocations: 0 / 1.052 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004641/1.076, allocations: 1.047 MB / 1.053 GB, free: 12.78 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.0006186/1.077, allocations: 167.5 kB / 1.053 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008809/1.085, allocations: 6.26 MB / 1.059 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.086, allocations: 4.875 kB / 1.059 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005371/1.091, allocations: 4.4 MB / 1.064 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.095, allocations: 0.9185 MB / 1.065 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/1.111, allocations: 9.581 MB / 1.074 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003957/1.115, allocations: 3.123 MB / 1.077 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002147/1.118, allocations: 0.5237 MB / 1.077 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.118, allocations: 147.4 kB / 1.078 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of SimCode: time 1.583e-06/1.118, allocations: 0 / 1.078 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of Templates: time 0.09144/1.21, allocations: 55.59 MB / 1.132 GB, free: 12.36 MB / 0.8106 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: