Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001249/0.001249, allocations: 100.6 kB / 16.27 MB, free: 5.93 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.001384/0.001384, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8/0.8, allocations: 126.4 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.4953 GB, free: 3.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3975, allocations: 78.78 MB / 0.5723 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02154/0.4191, allocations: 23.39 MB / 0.5951 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.4306, allocations: 6.492 MB / 0.6015 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003015/0.4337, allocations: 91.56 kB / 0.6015 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003558/0.4373, allocations: 1.496 MB / 0.603 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.4423, allocations: 1.819 MB / 0.6048 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.446, allocations: 1.465 MB / 0.6062 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007448/0.4535, allocations: 6.912 MB / 0.613 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009527/0.463, allocations: 7.012 MB / 0.6198 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.4682, allocations: 2.828 MB / 0.6226 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005853/0.4741, allocations: 3.47 MB / 0.626 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.4753, allocations: 0.5312 MB / 0.6265 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.4782, allocations: 1.17 MB / 0.6276 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002627/0.4809, allocations: 2.456 MB / 0.63 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003706/0.4846, allocations: 2.544 MB / 0.6325 GB, free: 8.371 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.4952, allocations: 8.46 MB / 0.6408 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4952, allocations: 0 / 0.6408 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4952, allocations: 0 / 0.6408 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002166/0.4955, allocations: 0 / 0.6408 GB, free: 15.89 MB / 494.1 MB 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.00996/0.5054, allocations: 4.431 MB / 0.6451 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5055, allocations: 11.97 kB / 0.6451 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008697/0.5142, allocations: 1.692 MB / 0.6468 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.5193, allocations: 2.567 MB / 0.6493 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.5195, allocations: 279.7 kB / 0.6495 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009851/0.5205, allocations: 368.2 kB / 0.6499 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.5344, allocations: 7.487 MB / 0.6572 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.27e-05/0.5345, allocations: 11.94 kB / 0.6572 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.535, allocations: 159.9 kB / 0.6574 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000571/0.5356, allocations: 487.3 kB / 0.6578 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.5458, allocations: 5.701 MB / 0.6634 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0366/0.5825, allocations: 31.7 MB / 0.6944 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/0.5855, allocations: 2.09 MB / 0.6964 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.5885, allocations: 2.182 MB / 0.6985 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.5887, allocations: 21.25 kB / 0.6985 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.5887, allocations: 47.88 kB / 0.6986 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.376e-06/0.5887, allocations: 0 / 0.6986 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.6257/1.214, allocations: 77 MB / 0.7738 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.215, allocations: 77.41 kB / 0.7739 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/1.216, allocations: 1.676 MB / 0.7755 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.217, allocations: 65.7 kB / 0.7756 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/1.217, allocations: 1.743 MB / 0.7773 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000616/1.218, allocations: 0.8526 MB / 0.7781 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000882/1.219, allocations: 485.2 kB / 0.7786 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/1.219, allocations: 305.1 kB / 0.7788 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/1.222, allocations: 2.73 MB / 0.7815 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.225, allocations: 3.328 MB / 0.7848 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006316/1.231, allocations: 6.395 MB / 0.791 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.231, allocations: 7.938 kB / 0.791 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02798/1.259, allocations: 14.68 MB / 0.8053 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/1.259, allocations: 17.66 kB / 0.8054 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.259, allocations: 20 kB / 0.8054 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02668/1.286, allocations: 9.283 MB / 0.8144 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.287, allocations: 307.4 kB / 0.8147 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06811/1.355, allocations: 52.38 MB / 0.8659 GB, free: 51.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.359, allocations: 215.7 kB / 0.8661 GB, free: 51.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/1.359, allocations: 104 kB / 0.8662 GB, free: 51.61 MB / 0.5762 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.002656/1.362, allocations: 1.586 MB / 0.8678 GB, free: 50.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/1.363, allocations: 245.1 kB / 0.868 GB, free: 49.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0297/1.392, allocations: 14.76 MB / 0.8824 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.392, allocations: 24 kB / 0.8824 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001222/1.393, allocations: 44 kB / 0.8825 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.266e-05/1.393, allocations: 15.33 kB / 0.8825 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03781/1.43, allocations: 20.51 MB / 0.9025 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-05/1.431, allocations: 8.844 kB / 0.9025 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/1.431, allocations: 159.8 kB / 0.9027 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02663/1.458, allocations: 9.061 MB / 0.9115 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004449/1.458, allocations: 52 kB / 0.9116 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08114/1.54, allocations: 51.96 MB / 0.9623 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.54, allocations: 7.938 kB / 0.9623 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03256/1.572, allocations: 14.36 MB / 0.9763 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.574, allocations: 0.8493 MB / 0.9772 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008195/1.575, allocations: 48 kB / 0.9772 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.578, allocations: 211.7 kB / 0.9774 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/1.579, allocations: 233.5 kB / 0.9776 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.579, allocations: 64 kB / 0.9777 GB, free: 180 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001975/1.581, allocations: 1.133 MB / 0.9788 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/1.581, allocations: 0 / 0.9788 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006175/1.588, allocations: 1.613 MB / 0.9804 GB, free: 13.41 MB / 0.6544 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.0005132/1.588, allocations: 164.3 kB / 0.9805 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.2863/1.874, allocations: 11.34 MB / 0.9916 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.874, allocations: 2.25 kB / 0.9916 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02002/1.894, allocations: 7.303 MB / 0.9987 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.898, allocations: 0.5514 MB / 0.9993 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.916, allocations: 8.781 MB / 1.008 GB, free: 216.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004449/1.921, allocations: 3.218 MB / 1.011 GB, free: 215.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0015/1.922, allocations: 397.3 kB / 1.011 GB, free: 215.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.922, allocations: 100.4 kB / 1.011 GB, free: 215.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/1.922, allocations: 0 / 1.011 GB, free: 215.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.1144/2.037, allocations: 91.84 MB / 1.101 GB, free: 135.8 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)