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.001222/0.001222, allocations: 106.8 kB / 15.98 MB, free: 6.348 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.001357/0.001357, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7548/0.7548, allocations: 122.9 MB / 413.6 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.4906 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3608, allocations: 77.93 MB / 0.5667 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02077/0.3816, allocations: 23.21 MB / 0.5894 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00972/0.3914, allocations: 6.452 MB / 0.5957 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.3932, allocations: 85.47 kB / 0.5958 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.3963, allocations: 1.351 MB / 0.5971 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.3999, allocations: 1.706 MB / 0.5988 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.4029, allocations: 1.333 MB / 0.6001 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006059/0.409, allocations: 6.947 MB / 0.6069 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.42, allocations: 8.128 MB / 0.6148 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.4247, allocations: 2.885 MB / 0.6176 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/0.4306, allocations: 3.689 MB / 0.6212 GB, free: 3.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.4318, allocations: 0.5273 MB / 0.6217 GB, free: 2.543 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.4348, allocations: 1.174 MB / 0.6229 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.4374, allocations: 2.479 MB / 0.6253 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003217/0.4406, allocations: 2.532 MB / 0.6278 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008807/0.4494, allocations: 8.522 MB / 0.6361 GB, free: 3.793 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4495, allocations: 0 / 0.6361 GB, free: 3.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4495, allocations: 0 / 0.6361 GB, free: 3.793 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000227/0.4497, allocations: 0 / 0.6361 GB, free: 3.793 MB / 478.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.009868/0.4596, allocations: 4.432 MB / 0.6404 GB, free: 15.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4597, allocations: 8.031 kB / 0.6404 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008347/0.468, allocations: 1.685 MB / 0.6421 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00511/0.4732, allocations: 2.567 MB / 0.6446 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.4734, allocations: 275.7 kB / 0.6448 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.4747, allocations: 360.3 kB / 0.6452 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.4889, allocations: 7.491 MB / 0.6525 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-05/0.489, allocations: 11.88 kB / 0.6525 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005117/0.4895, allocations: 159.9 kB / 0.6527 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005761/0.4901, allocations: 483.3 kB / 0.6531 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.5008, allocations: 5.701 MB / 0.6587 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/0.5399, allocations: 31.71 MB / 0.6897 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.5428, allocations: 2.093 MB / 0.6917 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/0.5457, allocations: 2.174 MB / 0.6938 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.5459, allocations: 25.25 kB / 0.6939 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5459, allocations: 43.88 kB / 0.6939 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.236e-06/0.5459, allocations: 3.938 kB / 0.6939 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.6261/1.172, allocations: 76.99 MB / 0.7691 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/1.172, allocations: 84.73 kB / 0.7692 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/1.175, allocations: 1.668 MB / 0.7708 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006198/1.176, allocations: 61.8 kB / 0.7709 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.177, allocations: 1.745 MB / 0.7726 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007749/1.178, allocations: 0.855 MB / 0.7734 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009102/1.178, allocations: 485.2 kB / 0.7739 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.739e-05/1.178, allocations: 301.1 kB / 0.7742 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/1.182, allocations: 2.735 MB / 0.7768 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/1.185, allocations: 3.327 MB / 0.7801 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0064/1.191, allocations: 6.391 MB / 0.7863 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.191, allocations: 11.94 kB / 0.7863 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02751/1.219, allocations: 14.68 MB / 0.8007 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.219, allocations: 12 kB / 0.8007 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/1.219, allocations: 16 kB / 0.8007 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02621/1.245, allocations: 9.302 MB / 0.8098 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.246, allocations: 295.5 kB / 0.8101 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0645/1.311, allocations: 52.38 MB / 0.8612 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/1.314, allocations: 227.7 kB / 0.8614 GB, free: 60.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/1.314, allocations: 96.11 kB / 0.8615 GB, free: 60.27 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.002803/1.317, allocations: 1.582 MB / 0.8631 GB, free: 58.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/1.318, allocations: 245.1 kB / 0.8633 GB, free: 58.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02818/1.346, allocations: 14.77 MB / 0.8777 GB, free: 43.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.346, allocations: 24 kB / 0.8777 GB, free: 43.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001417/1.346, allocations: 44.88 kB / 0.8778 GB, free: 43.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/1.346, allocations: 11.95 kB / 0.8778 GB, free: 43.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/1.383, allocations: 20.51 MB / 0.8978 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/1.383, allocations: 8 kB / 0.8978 GB, free: 22.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/1.384, allocations: 160.5 kB / 0.898 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02602/1.41, allocations: 9.062 MB / 0.9068 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005617/1.41, allocations: 52.56 kB / 0.9069 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07605/1.486, allocations: 51.97 MB / 0.9576 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/1.486, allocations: 15.94 kB / 0.9576 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03223/1.519, allocations: 14.35 MB / 0.9717 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/1.521, allocations: 0.8415 MB / 0.9725 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006693/1.522, allocations: 64.16 kB / 0.9725 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.524, allocations: 203.7 kB / 0.9727 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/1.526, allocations: 241.5 kB / 0.973 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.526, allocations: 67.94 kB / 0.973 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001688/1.528, allocations: 1.128 MB / 0.9741 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.528, allocations: 4 kB / 0.9741 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005877/1.534, allocations: 1.613 MB / 0.9757 GB, free: 6.055 MB / 0.6387 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.0005308/1.534, allocations: 163 kB / 0.9759 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02412/1.558, allocations: 11.33 MB / 0.9869 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.558, allocations: 4 kB / 0.9869 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01702/1.575, allocations: 7.307 MB / 0.9941 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.579, allocations: 0.5516 MB / 0.9946 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3364/1.916, allocations: 10.62 MB / 1.005 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007769/1.923, allocations: 3.223 MB / 1.008 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001964/1.925, allocations: 392.3 kB / 1.009 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/1.926, allocations: 101.3 kB / 1.009 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.222e-06/1.926, allocations: 1.062 kB / 1.009 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1512/2.077, allocations: 93.05 MB / 1.099 GB, free: 144.6 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)