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.001422/0.001422, allocations: 102.6 kB / 16.27 MB, free: 5.988 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.001389/0.001389, allocations: 186.8 kB / 17.19 MB, free: 5.629 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7839/0.7839, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4144, allocations: 77.92 MB / 0.5672 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02229/0.4367, allocations: 23.39 MB / 0.5901 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.4498, allocations: 6.495 MB / 0.5964 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.4532, allocations: 100.2 kB / 0.5965 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004688/0.4579, allocations: 1.488 MB / 0.5979 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.4653, allocations: 1.826 MB / 0.5997 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.47, allocations: 1.47 MB / 0.6012 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0079/0.4779, allocations: 6.915 MB / 0.6079 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008333/0.4863, allocations: 6.995 MB / 0.6147 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.4911, allocations: 2.828 MB / 0.6175 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005185/0.4963, allocations: 3.47 MB / 0.6209 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.4976, allocations: 0.5273 MB / 0.6214 GB, free: 3.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.5007, allocations: 1.17 MB / 0.6226 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002685/0.5034, allocations: 2.475 MB / 0.625 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.5066, allocations: 2.536 MB / 0.6274 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008717/0.5154, allocations: 8.464 MB / 0.6357 GB, free: 4.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5154, allocations: 4 kB / 0.6357 GB, free: 4.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5154, allocations: 0 / 0.6357 GB, free: 4.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.5157, allocations: 0 / 0.6357 GB, free: 4.406 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.01152/0.5272, allocations: 4.432 MB / 0.64 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.5273, allocations: 8.031 kB / 0.6401 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.5356, allocations: 1.677 MB / 0.6417 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.5411, allocations: 2.575 MB / 0.6442 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.5414, allocations: 275.7 kB / 0.6445 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.5425, allocations: 360.3 kB / 0.6448 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.5538, allocations: 7.491 MB / 0.6521 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.617e-05/0.5539, allocations: 11.88 kB / 0.6521 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.5544, allocations: 155.9 kB / 0.6523 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005255/0.5549, allocations: 487.3 kB / 0.6528 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008984/0.5639, allocations: 5.701 MB / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.5999, allocations: 31.72 MB / 0.6893 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.6027, allocations: 2.09 MB / 0.6913 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.6054, allocations: 2.182 MB / 0.6935 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.6055, allocations: 17.31 kB / 0.6935 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.6056, allocations: 51.81 kB / 0.6935 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 2.625e-06/0.6056, allocations: 0 / 0.6935 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.701/1.307, allocations: 76.99 MB / 0.7687 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/1.307, allocations: 78.22 kB / 0.7688 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/1.309, allocations: 1.667 MB / 0.7704 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004836/1.31, allocations: 69.14 kB / 0.7705 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007906/1.311, allocations: 1.744 MB / 0.7722 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/1.311, allocations: 0.8547 MB / 0.773 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/1.312, allocations: 486.5 kB / 0.7735 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.312, allocations: 301.1 kB / 0.7738 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.315, allocations: 2.73 MB / 0.7764 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/1.318, allocations: 3.333 MB / 0.7797 GB, free: 145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/1.324, allocations: 6.393 MB / 0.7859 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.324, allocations: 15.31 kB / 0.786 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02772/1.352, allocations: 14.67 MB / 0.8003 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/1.352, allocations: 16.25 kB / 0.8003 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.352, allocations: 17.09 kB / 0.8003 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02584/1.378, allocations: 9.299 MB / 0.8094 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.379, allocations: 299.4 kB / 0.8097 GB, free: 114 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06559/1.445, allocations: 52.38 MB / 0.8608 GB, free: 60.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/1.449, allocations: 223.7 kB / 0.861 GB, free: 60.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/1.449, allocations: 96 kB / 0.8611 GB, free: 60.51 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.002753/1.452, allocations: 1.59 MB / 0.8627 GB, free: 58.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/1.452, allocations: 245.1 kB / 0.8629 GB, free: 58.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02774/1.48, allocations: 14.76 MB / 0.8773 GB, free: 43.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.48, allocations: 24 kB / 0.8774 GB, free: 43.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001611/1.48, allocations: 47.94 kB / 0.8774 GB, free: 43.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.34e-05/1.48, allocations: 11.95 kB / 0.8774 GB, free: 43.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03618/1.517, allocations: 20.52 MB / 0.8975 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/1.517, allocations: 4 kB / 0.8975 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/1.517, allocations: 167.7 kB / 0.8976 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02508/1.542, allocations: 9.058 MB / 0.9065 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000561/1.543, allocations: 48 kB / 0.9065 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07701/1.62, allocations: 51.95 MB / 0.9572 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.62, allocations: 8 kB / 0.9572 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03267/1.653, allocations: 14.37 MB / 0.9713 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.655, allocations: 0.8454 MB / 0.9721 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005286/1.656, allocations: 51.91 kB / 0.9722 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/1.658, allocations: 207.7 kB / 0.9724 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/1.66, allocations: 237.5 kB / 0.9726 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/1.66, allocations: 68 kB / 0.9726 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001845/1.662, allocations: 1.122 MB / 0.9737 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.662, allocations: 0 / 0.9737 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005854/1.668, allocations: 1.617 MB / 0.9753 GB, free: 6.305 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.0004166/1.668, allocations: 167 kB / 0.9755 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02483/1.693, allocations: 11.34 MB / 0.9866 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.693, allocations: 4 kB / 0.9866 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01901/1.712, allocations: 7.303 MB / 0.9937 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.716, allocations: 0.5505 MB / 0.9942 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3399/2.056, allocations: 8.77 MB / 1.003 GB, free: 217.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/2.06, allocations: 3.226 MB / 1.006 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001357/2.062, allocations: 392.5 kB / 1.006 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/2.062, allocations: 97.58 kB / 1.006 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.713e-06/2.062, allocations: 0 / 1.006 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1139/2.176, allocations: 91.83 MB / 1.096 GB, free: 147.4 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)