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.001496/0.001496, allocations: 110 kB / 17.02 MB, free: 6.094 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.001748/0.001748, allocations: 192.1 kB / 17.97 MB, free: 5.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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 71.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3266, allocations: 76.14 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02299/0.3496, allocations: 23.39 MB / 0.5804 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.3606, allocations: 6.491 MB / 0.5868 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.363, allocations: 99.44 kB / 0.5869 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.3668, allocations: 1.488 MB / 0.5883 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.3715, allocations: 1.825 MB / 0.5901 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.3753, allocations: 1.465 MB / 0.5915 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007534/0.3828, allocations: 6.911 MB / 0.5983 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006934/0.3898, allocations: 6.945 MB / 0.6051 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.394, allocations: 2.843 MB / 0.6078 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/0.3991, allocations: 3.466 MB / 0.6112 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4003, allocations: 0.5273 MB / 0.6117 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.403, allocations: 1.174 MB / 0.6129 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.4056, allocations: 2.464 MB / 0.6153 GB, free: 9.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004292/0.41, allocations: 2.536 MB / 0.6178 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009572/0.4195, allocations: 8.522 MB / 0.6261 GB, free: 14.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4196, allocations: 0 / 0.6261 GB, free: 14.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4196, allocations: 0 / 0.6261 GB, free: 14.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002179/0.4198, allocations: 0 / 0.6261 GB, free: 14.22 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.009871/0.4297, allocations: 4.428 MB / 0.6304 GB, free: 9.727 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4297, allocations: 8.031 kB / 0.6304 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008253/0.438, allocations: 1.685 MB / 0.6321 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/0.4441, allocations: 2.696 MB / 0.6347 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.4443, allocations: 275.7 kB / 0.635 GB, free: 5.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008157/0.4452, allocations: 364.2 kB / 0.6353 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.4578, allocations: 7.487 MB / 0.6426 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-05/0.458, allocations: 15.88 kB / 0.6426 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.4584, allocations: 159.9 kB / 0.6428 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005652/0.459, allocations: 483.3 kB / 0.6432 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009771/0.4688, allocations: 5.701 MB / 0.6488 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.504, allocations: 31.51 MB / 0.6796 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.507, allocations: 2.09 MB / 0.6816 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.5098, allocations: 2.178 MB / 0.6837 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.51, allocations: 17.31 kB / 0.6838 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5101, allocations: 51.73 kB / 0.6838 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.346e-06/0.5101, allocations: 3.938 kB / 0.6838 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5504/1.061, allocations: 76.99 MB / 0.759 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/1.061, allocations: 79.78 kB / 0.7591 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/1.063, allocations: 1.67 MB / 0.7607 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003797/1.063, allocations: 66.48 kB / 0.7608 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/1.064, allocations: 1.744 MB / 0.7625 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007309/1.065, allocations: 0.8553 MB / 0.7633 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009843/1.066, allocations: 482.7 kB / 0.7638 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/1.066, allocations: 302.2 kB / 0.7641 GB, free: 156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/1.069, allocations: 2.734 MB / 0.7667 GB, free: 155 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.073, allocations: 3.329 MB / 0.77 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007553/1.081, allocations: 6.398 MB / 0.7762 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/1.081, allocations: 5.844 kB / 0.7762 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03025/1.111, allocations: 14.68 MB / 0.7906 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/1.111, allocations: 21.78 kB / 0.7906 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.111, allocations: 17.94 kB / 0.7906 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02621/1.137, allocations: 9.245 MB / 0.7996 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.138, allocations: 295.5 kB / 0.7999 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06431/1.203, allocations: 52.33 MB / 0.851 GB, free: 80.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.206, allocations: 227.6 kB / 0.8512 GB, free: 79.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004069/1.206, allocations: 99.83 kB / 0.8513 GB, free: 79.71 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.00243/1.208, allocations: 1.586 MB / 0.8529 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/1.209, allocations: 249.1 kB / 0.8531 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02659/1.236, allocations: 14.75 MB / 0.8675 GB, free: 63.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.236, allocations: 27.94 kB / 0.8675 GB, free: 63.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/1.236, allocations: 48 kB / 0.8676 GB, free: 62.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/1.236, allocations: 11.95 kB / 0.8676 GB, free: 62.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03595/1.272, allocations: 20.51 MB / 0.8876 GB, free: 42.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/1.272, allocations: 8 kB / 0.8876 GB, free: 42.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/1.273, allocations: 159.8 kB / 0.8878 GB, free: 42.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02511/1.298, allocations: 9.002 MB / 0.8966 GB, free: 33.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004239/1.298, allocations: 56 kB / 0.8966 GB, free: 33.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06766/1.366, allocations: 51.91 MB / 0.9473 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/1.366, allocations: 15.88 kB / 0.9473 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03107/1.397, allocations: 14.37 MB / 0.9614 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.4, allocations: 0.8416 MB / 0.9622 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007684/1.4, allocations: 59.84 kB / 0.9623 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.403, allocations: 203.7 kB / 0.9625 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/1.404, allocations: 239.6 kB / 0.9627 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.404, allocations: 67.98 kB / 0.9627 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001558/1.406, allocations: 1.117 MB / 0.9638 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/1.406, allocations: 0 / 0.9638 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00536/1.411, allocations: 1.618 MB / 0.9654 GB, free: 9.602 MB / 0.6231 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.0004687/1.412, allocations: 167 kB / 0.9656 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02133/1.433, allocations: 10.56 MB / 0.9759 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.433, allocations: 0 / 0.9759 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01715/1.45, allocations: 7.304 MB / 0.983 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.453, allocations: 0.556 MB / 0.9836 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2448/1.698, allocations: 8.689 MB / 0.992 GB, free: 204 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/1.702, allocations: 3.221 MB / 0.9952 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001147/1.703, allocations: 389.5 kB / 0.9956 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/1.704, allocations: 98.86 kB / 0.9957 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.552e-06/1.704, allocations: 0 / 0.9957 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.1144/1.818, allocations: 91.85 MB / 1.085 GB, free: 143.2 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)