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.0008638/0.0008638, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001576, allocations: 181.7 kB / 16.92 MB, free: 6.75 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7124/0.7124, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 8 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 77.54 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02532/0.1976, allocations: 22.56 MB / 0.582 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2937/0.4913, allocations: 6.427 MB / 0.5883 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.4934, allocations: 80.47 kB / 0.5884 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.4945, allocations: 470.1 kB / 0.5888 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.4989, allocations: 1.748 MB / 0.5905 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.5021, allocations: 1.196 MB / 0.5917 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.516, allocations: 10.61 MB / 0.602 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01489/0.5309, allocations: 8.067 MB / 0.6099 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006221/0.5372, allocations: 2.073 MB / 0.6119 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006307/0.5435, allocations: 3.188 MB / 0.6151 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008184/0.5444, allocations: 242.2 kB / 0.6153 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.5477, allocations: 1.06 MB / 0.6163 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.5503, allocations: 2.109 MB / 0.6184 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.5534, allocations: 2.135 MB / 0.6205 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00783/0.5612, allocations: 8.13 MB / 0.6284 GB, free: 14.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5612, allocations: 0 / 0.6284 GB, free: 14.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5612, allocations: 0 / 0.6284 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002583/0.5615, allocations: 0 / 0.6284 GB, free: 14.27 MB / 462.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.008298/0.5698, allocations: 3.559 MB / 0.6319 GB, free: 10.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5699, allocations: 20.02 kB / 0.6319 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009381/0.5793, allocations: 1.684 MB / 0.6335 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/0.5845, allocations: 2.569 MB / 0.6361 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.5847, allocations: 277.9 kB / 0.6363 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.5859, allocations: 356.7 kB / 0.6367 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.6023, allocations: 7.489 MB / 0.644 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.6024, allocations: 15.81 kB / 0.644 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004929/0.6029, allocations: 164.8 kB / 0.6441 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005918/0.6035, allocations: 483.3 kB / 0.6446 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.6157, allocations: 5.701 MB / 0.6502 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03989/0.6556, allocations: 31.69 MB / 0.6811 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.6586, allocations: 2.097 MB / 0.6832 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/0.6618, allocations: 2.168 MB / 0.6853 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.6619, allocations: 15.34 kB / 0.6853 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.662, allocations: 51.88 kB / 0.6854 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=146): time 4.077e-06/0.662, allocations: 0 / 0.6854 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=251): time 0.3112/0.9732, allocations: 75.26 MB / 0.7589 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.9733, allocations: 77.41 kB / 0.7589 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.976, allocations: 1.674 MB / 0.7606 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004953/0.9765, allocations: 61.7 kB / 0.7606 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.9776, allocations: 1.744 MB / 0.7623 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.9787, allocations: 0.8502 MB / 0.7632 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.9791, allocations: 207 kB / 0.7634 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.9792, allocations: 305.1 kB / 0.7636 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/0.983, allocations: 2.73 MB / 0.7663 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/0.9873, allocations: 3.333 MB / 0.7696 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008488/0.9958, allocations: 6.396 MB / 0.7758 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.9958, allocations: 8 kB / 0.7758 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03366/1.029, allocations: 14.68 MB / 0.7902 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/1.03, allocations: 15.94 kB / 0.7902 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/1.03, allocations: 16 kB / 0.7902 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03134/1.061, allocations: 9.231 MB / 0.7992 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.062, allocations: 307.4 kB / 0.7995 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3882/1.45, allocations: 47.14 MB / 0.8455 GB, free: 200 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.454, allocations: 222.1 kB / 0.8457 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005271/1.454, allocations: 103.2 kB / 0.8458 GB, free: 199.9 MB / 0.6387 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.003978/1.458, allocations: 1.587 MB / 0.8474 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000769/1.459, allocations: 242.6 kB / 0.8476 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03379/1.493, allocations: 14.75 MB / 0.862 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/1.493, allocations: 27.5 kB / 0.8621 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001799/1.493, allocations: 43.56 kB / 0.8621 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/1.493, allocations: 15.33 kB / 0.8621 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03713/1.53, allocations: 20.52 MB / 0.8822 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/1.53, allocations: 6.938 kB / 0.8822 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/1.531, allocations: 163 kB / 0.8823 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02717/1.558, allocations: 9.001 MB / 0.8911 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004785/1.559, allocations: 48 kB / 0.8912 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06236/1.621, allocations: 46.74 MB / 0.9368 GB, free: 131.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.621, allocations: 15.92 kB / 0.9368 GB, free: 131.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02851/1.65, allocations: 14.36 MB / 0.9508 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.652, allocations: 0.8455 MB / 0.9517 GB, free: 116 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/1.653, allocations: 51.98 kB / 0.9517 GB, free: 115.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/1.655, allocations: 211.6 kB / 0.9519 GB, free: 115.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001508/1.656, allocations: 237.5 kB / 0.9521 GB, free: 115.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.657, allocations: 71.94 kB / 0.9522 GB, free: 115.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001464/1.658, allocations: 1.125 MB / 0.9533 GB, free: 114.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.658, allocations: 0 / 0.9533 GB, free: 114.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005139/1.663, allocations: 1.613 MB / 0.9549 GB, free: 112.7 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.0004339/1.664, allocations: 162.9 kB / 0.955 GB, free: 112.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02023/1.684, allocations: 10.36 MB / 0.9652 GB, free: 102.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.684, allocations: 0.875 kB / 0.9652 GB, free: 102.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0164/1.7, allocations: 7.164 MB / 0.9722 GB, free: 94.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/1.705, allocations: 0.5113 MB / 0.9727 GB, free: 94.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.718, allocations: 10.61 MB / 0.983 GB, free: 83.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/1.721, allocations: 3.234 MB / 0.9862 GB, free: 80.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001223/1.722, allocations: 387.4 kB / 0.9865 GB, free: 80.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.722, allocations: 103.4 kB / 0.9866 GB, free: 79.92 MB / 0.6387 GB Notification: Performance of SimCode: time 1.804e-06/1.722, allocations: 0 / 0.9866 GB, free: 79.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.3953/2.118, allocations: 86.28 MB / 1.071 GB, free: 188.4 MB / 0.6387 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)