Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 99.16 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.00111/0.00111, allocations: 177.3 kB / 15.95 MB, free: 216 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.527/1.527, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.725/1.725, 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.0005494/0.0005494, allocations: 14.12 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2896, 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.ACLineMatrix_RL_N): time 0.0222/0.3118, allocations: 20.52 MB / 0.8072 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3225, allocations: 6.285 MB / 0.8133 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.3247, allocations: 75.5 kB / 0.8134 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3259, allocations: 457.2 kB / 0.8138 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.3293, allocations: 1.203 MB / 0.815 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.3317, allocations: 0.9199 MB / 0.8159 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004928/0.3367, allocations: 3.239 MB / 0.8191 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.3486, allocations: 7.097 MB / 0.826 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004966/0.3536, allocations: 1.752 MB / 0.8277 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.3584, allocations: 2.064 MB / 0.8297 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.3595, allocations: 248 kB / 0.8299 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.3619, allocations: 499.4 kB / 0.8304 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.3638, allocations: 1.922 MB / 0.8323 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.3649, allocations: 0.8433 MB / 0.8331 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006794/0.3717, allocations: 6.896 MB / 0.8399 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3718, allocations: 0 / 0.8399 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3718, allocations: 0 / 0.8399 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001913/0.372, allocations: 4 kB / 0.8399 GB, free: 5.777 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007741/0.3797, allocations: 3.582 MB / 0.8434 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3798, allocations: 8.031 kB / 0.8434 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008388/0.3882, allocations: 1.789 MB / 0.8451 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005699/0.3939, allocations: 2.513 MB / 0.8476 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.3941, allocations: 275.3 kB / 0.8478 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006715/0.3948, allocations: 359.9 kB / 0.8482 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.4064, allocations: 7.424 MB / 0.8554 GB, free: 5.445 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.289e-05/0.4066, allocations: 19.77 kB / 0.8554 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/0.407, allocations: 163.9 kB / 0.8556 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005482/0.4075, allocations: 483.3 kB / 0.8561 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009785/0.4173, allocations: 5.685 MB / 0.8616 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.4577, allocations: 31.67 MB / 0.8925 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.4606, allocations: 2.082 MB / 0.8946 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.4608, allocations: 17.3 kB / 0.8946 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4608, allocations: 59.81 kB / 0.8946 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 2.946e-06/0.4608, allocations: 0 / 0.8946 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=251): time 0.7473/1.208, allocations: 75.24 MB / 0.9681 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.208, allocations: 77.41 kB / 0.9682 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.21, allocations: 1.646 MB / 0.9698 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005688/1.211, allocations: 65.7 kB / 0.9699 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008398/1.212, allocations: 1.746 MB / 0.9716 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000699/1.212, allocations: 0.8582 MB / 0.9724 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/1.213, allocations: 52 kB / 0.9725 GB, free: 102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.213, allocations: 411.2 kB / 0.9728 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.216, allocations: 2.722 MB / 0.9755 GB, free: 98.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/1.219, allocations: 3.312 MB / 0.9787 GB, free: 95.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/1.222, allocations: 3.047 MB / 0.9817 GB, free: 92.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/1.222, allocations: 8 kB / 0.9817 GB, free: 92.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02692/1.249, allocations: 14.64 MB / 0.996 GB, free: 77.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/1.249, allocations: 15.98 kB / 0.996 GB, free: 77.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/1.249, allocations: 16 kB / 0.9961 GB, free: 77.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02635/1.275, allocations: 9.245 MB / 1.005 GB, free: 68.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.276, allocations: 295.5 kB / 1.005 GB, free: 68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06197/1.338, allocations: 49.57 MB / 1.054 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/1.342, allocations: 219.7 kB / 1.054 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.342, allocations: 104 kB / 1.054 GB, free: 17.29 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002517/1.344, allocations: 1.582 MB / 1.056 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/1.345, allocations: 243.5 kB / 1.056 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/1.372, allocations: 14.73 MB / 1.07 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/1.372, allocations: 24 kB / 1.07 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001369/1.372, allocations: 44 kB / 1.07 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.738e-05/1.372, allocations: 16.89 kB / 1.07 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0437/1.416, allocations: 20.48 MB / 1.09 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/1.416, allocations: 7.938 kB / 1.09 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/1.417, allocations: 163.7 kB / 1.09 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02914/1.446, allocations: 9.002 MB / 1.099 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004933/1.446, allocations: 48 kB / 1.099 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07596/1.522, allocations: 49.2 MB / 1.147 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.522, allocations: 11.94 kB / 1.147 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03236/1.555, allocations: 14.78 MB / 1.162 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.557, allocations: 0.8503 MB / 1.163 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008954/1.558, allocations: 51.94 kB / 1.163 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.561, allocations: 211.7 kB / 1.163 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/1.562, allocations: 233.6 kB / 1.163 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003478/1.563, allocations: 64 kB / 1.163 GB, free: 136 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001913/1.565, allocations: 1.108 MB / 1.164 GB, free: 15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/1.565, allocations: 0 / 1.164 GB, free: 15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005839/1.57, allocations: 1.613 MB / 1.166 GB, free: 13.39 MB / 0.8419 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005947/1.571, allocations: 163 kB / 1.166 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02338/1.594, allocations: 10.34 MB / 1.176 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.594, allocations: 0 / 1.176 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/1.614, allocations: 7.164 MB / 1.183 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.616, allocations: 483.4 kB / 1.184 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.632, allocations: 10.3 MB / 1.194 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003995/1.637, allocations: 3.295 MB / 1.197 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001179/1.638, allocations: 387.3 kB / 1.197 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/1.638, allocations: 103.4 kB / 1.197 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of SimCode: time 1.202e-06/1.638, allocations: 0 / 1.197 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.5565/2.194, allocations: 84.37 MB / 1.28 GB, free: 296.7 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: