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.001447/0.001447, allocations: 103.6 kB / 15.98 MB, free: 5.891 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.001732/0.001732, allocations: 190.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.8 MB, free: 4.633 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.679/1.679, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001426/0.001426, allocations: 68.45 kB / 0.6717 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2156, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02423/0.2399, allocations: 23.23 MB / 0.8062 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.2513, allocations: 6.489 MB / 0.8125 GB, free: 88 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.2535, allocations: 83.5 kB / 0.8126 GB, free: 4 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.2575, allocations: 1.368 MB / 0.814 GB, free: 14.63 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.2619, allocations: 1.696 MB / 0.8156 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.2655, allocations: 1.348 MB / 0.8169 GB, free: 11.59 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.007786/0.2733, allocations: 6.931 MB / 0.8237 GB, free: 4.637 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.2849, allocations: 8.136 MB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.2895, allocations: 2.878 MB / 0.8345 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005313/0.2948, allocations: 3.7 MB / 0.8381 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.2963, allocations: 0.5273 MB / 0.8386 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.2994, allocations: 1.174 MB / 0.8397 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.3032, allocations: 2.475 MB / 0.8422 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00528/0.3085, allocations: 2.528 MB / 0.8446 GB, free: 15.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008539/0.3171, allocations: 7.234 MB / 0.8517 GB, free: 7.844 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.3171, allocations: 0 / 0.8517 GB, free: 7.844 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3171, allocations: 4 kB / 0.8517 GB, free: 7.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003247/0.3175, allocations: 0 / 0.8517 GB, free: 7.84 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01212/0.3296, allocations: 4.424 MB / 0.856 GB, free: 3.348 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3297, allocations: 12.02 kB / 0.856 GB, free: 3.336 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008925/0.3386, allocations: 1.681 MB / 0.8577 GB, free: 1.648 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.344, allocations: 2.575 MB / 0.8602 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.3443, allocations: 275.7 kB / 0.8604 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.3458, allocations: 356.3 kB / 0.8608 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.3605, allocations: 7.487 MB / 0.8681 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.083e-05/0.3606, allocations: 15.81 kB / 0.8681 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005305/0.3612, allocations: 163.9 kB / 0.8683 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005352/0.3617, allocations: 483.3 kB / 0.8687 GB, free: 6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.3729, allocations: 5.697 MB / 0.8743 GB, free: 304 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/0.4108, allocations: 31.73 MB / 0.9053 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/0.4137, allocations: 2.082 MB / 0.9073 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.4167, allocations: 2.182 MB / 0.9094 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.4169, allocations: 13.31 kB / 0.9094 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.4169, allocations: 55.86 kB / 0.9095 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.287e-06/0.4169, allocations: 0 / 0.9095 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.6217/1.039, allocations: 77 MB / 0.9847 GB, free: 89.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.039, allocations: 77.41 kB / 0.9848 GB, free: 89.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/1.041, allocations: 1.666 MB / 0.9864 GB, free: 87.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004677/1.041, allocations: 65.7 kB / 0.9865 GB, free: 87.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/1.042, allocations: 1.754 MB / 0.9882 GB, free: 85.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008012/1.043, allocations: 0.8455 MB / 0.989 GB, free: 85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.044, allocations: 485.2 kB / 0.9895 GB, free: 84.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.739e-05/1.044, allocations: 301.1 kB / 0.9897 GB, free: 84.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.047, allocations: 2.734 MB / 0.9924 GB, free: 81.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/1.05, allocations: 3.328 MB / 0.9957 GB, free: 77.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006484/1.056, allocations: 6.401 MB / 1.002 GB, free: 71.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/1.057, allocations: 7.938 kB / 1.002 GB, free: 71.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02715/1.084, allocations: 14.68 MB / 1.016 GB, free: 56.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/1.084, allocations: 12 kB / 1.016 GB, free: 56.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/1.084, allocations: 20 kB / 1.016 GB, free: 56.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02597/1.11, allocations: 9.297 MB / 1.025 GB, free: 47.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.111, allocations: 307.5 kB / 1.026 GB, free: 46.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0661/1.177, allocations: 52.39 MB / 1.077 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/1.18, allocations: 219.7 kB / 1.077 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/1.18, allocations: 100 kB / 1.077 GB, free: 9.363 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002772/1.183, allocations: 1.583 MB / 1.079 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007145/1.184, allocations: 241.1 kB / 1.079 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03119/1.215, allocations: 14.77 MB / 1.093 GB, free: 8.707 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/1.215, allocations: 24 kB / 1.093 GB, free: 8.684 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001619/1.215, allocations: 45.88 kB / 1.093 GB, free: 8.641 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.215e-05/1.215, allocations: 11.95 kB / 1.093 GB, free: 8.629 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04118/1.256, allocations: 20.51 MB / 1.113 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/1.256, allocations: 8 kB / 1.113 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/1.257, allocations: 168.5 kB / 1.114 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02882/1.286, allocations: 9.054 MB / 1.122 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005076/1.287, allocations: 48 kB / 1.122 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07944/1.366, allocations: 51.96 MB / 1.173 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.366, allocations: 8 kB / 1.173 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03338/1.4, allocations: 14.36 MB / 1.187 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.402, allocations: 0.8531 MB / 1.188 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009102/1.403, allocations: 54.05 kB / 1.188 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.405, allocations: 207.7 kB / 1.188 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001442/1.407, allocations: 237.5 kB / 1.189 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003567/1.407, allocations: 64 kB / 1.189 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00203/1.409, allocations: 1.129 MB / 1.19 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/1.409, allocations: 4 kB / 1.19 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005452/1.414, allocations: 1.613 MB / 1.191 GB, free: 3.188 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005359/1.415, allocations: 163 kB / 1.191 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02409/1.439, allocations: 11.34 MB / 1.203 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.439, allocations: 0 / 1.203 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/1.456, allocations: 7.317 MB / 1.21 GB, free: 272 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.46, allocations: 0.5494 MB / 1.21 GB, free: 15.73 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.478, allocations: 11.23 MB / 1.221 GB, free: 4.449 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004419/1.483, allocations: 3.3 MB / 1.224 GB, free: 1.113 MB / 0.8888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/1.483, allocations: 111.4 kB / 1.225 GB, free: 1.004 MB / 0.8888 GB Notification: Performance of SimCode: time 6.71e-07/1.483, allocations: 0 / 1.225 GB, free: 1.004 MB / 0.8888 GB Notification: Performance of Templates: time 0.542/2.025, allocations: 187.6 MB / 1.408 GB, free: 208.3 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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)