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.001629/0.001629, allocations: 101.2 kB / 16.27 MB, free: 5.977 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.001851/0.001851, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7455/0.7455, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 0.4911 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3347, allocations: 77.93 MB / 0.5672 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02313/0.3579, allocations: 23.39 MB / 0.5901 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.3693, allocations: 6.493 MB / 0.5964 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.3721, allocations: 98.88 kB / 0.5965 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.3761, allocations: 1.494 MB / 0.598 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004782/0.3809, allocations: 1.825 MB / 0.5998 GB, free: 8.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.3844, allocations: 1.459 MB / 0.6012 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006324/0.3907, allocations: 6.92 MB / 0.6079 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008232/0.3989, allocations: 6.993 MB / 0.6148 GB, free: 9.977 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/0.4038, allocations: 2.832 MB / 0.6175 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005717/0.4096, allocations: 3.474 MB / 0.6209 GB, free: 3.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001704/0.4113, allocations: 0.5234 MB / 0.6214 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.415, allocations: 1.174 MB / 0.6226 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003938/0.419, allocations: 2.464 MB / 0.625 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005843/0.4248, allocations: 2.54 MB / 0.6275 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4366, allocations: 8.464 MB / 0.6357 GB, free: 4.445 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4366, allocations: 0 / 0.6357 GB, free: 4.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4366, allocations: 3.938 kB / 0.6357 GB, free: 4.441 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.4369, allocations: 0 / 0.6357 GB, free: 4.441 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.01243/0.4494, allocations: 4.431 MB / 0.6401 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4494, allocations: 12.03 kB / 0.6401 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009522/0.459, allocations: 1.673 MB / 0.6417 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006104/0.4651, allocations: 2.579 MB / 0.6442 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.4654, allocations: 279.7 kB / 0.6445 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.467, allocations: 360.3 kB / 0.6448 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.4834, allocations: 7.483 MB / 0.6522 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.4836, allocations: 15.88 kB / 0.6522 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.4847, allocations: 155.9 kB / 0.6523 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006402/0.4853, allocations: 487.3 kB / 0.6528 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4965, allocations: 5.701 MB / 0.6583 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03839/0.535, allocations: 31.71 MB / 0.6893 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.5379, allocations: 2.093 MB / 0.6914 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/0.5409, allocations: 2.178 MB / 0.6935 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.5411, allocations: 17.31 kB / 0.6935 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.5411, allocations: 51.88 kB / 0.6936 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.276e-06/0.5411, allocations: 0 / 0.6936 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.6295/1.171, allocations: 76.99 MB / 0.7687 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.171, allocations: 82.03 kB / 0.7688 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/1.173, allocations: 1.668 MB / 0.7704 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003887/1.173, allocations: 66.61 kB / 0.7705 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/1.174, allocations: 1.739 MB / 0.7722 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/1.175, allocations: 0.8593 MB / 0.773 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008739/1.176, allocations: 479.8 kB / 0.7735 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.943e-05/1.176, allocations: 305.1 kB / 0.7738 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/1.179, allocations: 2.733 MB / 0.7765 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/1.182, allocations: 3.33 MB / 0.7797 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/1.188, allocations: 6.397 MB / 0.786 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.188, allocations: 7.938 kB / 0.786 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02847/1.216, allocations: 14.68 MB / 0.8003 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/1.216, allocations: 12 kB / 0.8003 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.216, allocations: 17.09 kB / 0.8003 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0266/1.243, allocations: 9.298 MB / 0.8094 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.244, allocations: 303.4 kB / 0.8097 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0656/1.31, allocations: 52.38 MB / 0.8609 GB, free: 60.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/1.313, allocations: 219.7 kB / 0.8611 GB, free: 60.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/1.313, allocations: 96 kB / 0.8612 GB, free: 60.59 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.002233/1.315, allocations: 1.59 MB / 0.8627 GB, free: 58.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.316, allocations: 241.1 kB / 0.8629 GB, free: 58.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03125/1.347, allocations: 14.77 MB / 0.8774 GB, free: 43.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/1.347, allocations: 24 kB / 0.8774 GB, free: 43.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001653/1.347, allocations: 51.92 kB / 0.8774 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/1.348, allocations: 11.95 kB / 0.8774 GB, free: 43.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05629/1.404, allocations: 20.51 MB / 0.8975 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/1.404, allocations: 8.844 kB / 0.8975 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.405, allocations: 159.8 kB / 0.8976 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03048/1.436, allocations: 9.062 MB / 0.9065 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005331/1.436, allocations: 52 kB / 0.9065 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07991/1.516, allocations: 51.95 MB / 0.9573 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.516, allocations: 7.938 kB / 0.9573 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0334/1.55, allocations: 14.36 MB / 0.9713 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/1.552, allocations: 0.8454 MB / 0.9721 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.553, allocations: 55.89 kB / 0.9722 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.556, allocations: 199.7 kB / 0.9724 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001549/1.557, allocations: 245.5 kB / 0.9726 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.558, allocations: 64 kB / 0.9727 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001785/1.56, allocations: 1.129 MB / 0.9738 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/1.56, allocations: 0 / 0.9738 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005366/1.565, allocations: 1.609 MB / 0.9753 GB, free: 6.383 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.0004369/1.565, allocations: 173.6 kB / 0.9755 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02542/1.591, allocations: 11.35 MB / 0.9866 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.591, allocations: 0 / 0.9866 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/1.611, allocations: 7.305 MB / 0.9937 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.615, allocations: 0.5489 MB / 0.9943 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3031/1.918, allocations: 8.766 MB / 1.003 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004084/1.923, allocations: 3.225 MB / 1.006 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00127/1.924, allocations: 391.3 kB / 1.006 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/1.924, allocations: 98.66 kB / 1.006 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of SimCode: time 1.403e-06/1.924, allocations: 0 / 1.006 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.1151/2.039, allocations: 91.84 MB / 1.096 GB, free: 147.5 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)