Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001386, allocations: 104 kB / 16.94 MB, free: 6.191 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.001499/0.001499, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.393/1.393, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8129/0.8129, allocations: 122.9 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.91 kB / 0.4918 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4159, allocations: 77.92 MB / 0.5678 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03613/0.452, allocations: 37.58 MB / 0.6045 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.474, allocations: 13.04 MB / 0.6173 GB, free: 8.059 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005787/0.4798, allocations: 169 kB / 0.6174 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.4904, allocations: 3.885 MB / 0.6212 GB, free: 4.016 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008603/0.4991, allocations: 2.488 MB / 0.6237 GB, free: 1.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007616/0.5067, allocations: 2.709 MB / 0.6263 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01314/0.5199, allocations: 9.571 MB / 0.6357 GB, free: 5.238 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01424/0.5342, allocations: 10.64 MB / 0.646 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007497/0.5417, allocations: 3.972 MB / 0.6499 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007968/0.5497, allocations: 4.373 MB / 0.6542 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003021/0.5528, allocations: 0.7734 MB / 0.6549 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005837/0.5587, allocations: 1.787 MB / 0.6567 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005667/0.5643, allocations: 3.036 MB / 0.6597 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008609/0.573, allocations: 3.579 MB / 0.6632 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.5909, allocations: 11.78 MB / 0.6747 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.591, allocations: 0 / 0.6747 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.108e-06/0.591, allocations: 3.984 kB / 0.6747 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004395/0.5915, allocations: 0 / 0.6747 GB, free: 13.08 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02106/0.6125, allocations: 6.346 MB / 0.6809 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6126, allocations: 8.625 kB / 0.6809 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009727/0.6223, allocations: 1.297 MB / 0.6821 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008963/0.6313, allocations: 3.576 MB / 0.6856 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/0.6318, allocations: 382.5 kB / 0.686 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/0.6344, allocations: 0.4962 MB / 0.6865 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.6577, allocations: 8.894 MB / 0.6952 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003809/0.6581, allocations: 31.77 kB / 0.6952 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002436/0.6606, allocations: 216 kB / 0.6954 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002708/0.6633, allocations: 0.6265 MB / 0.696 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.6811, allocations: 7.014 MB / 0.7029 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06112/0.7422, allocations: 40.33 MB / 0.7422 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004843/0.7471, allocations: 2.894 MB / 0.7451 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3196/1.067, allocations: 2.659 MB / 0.7477 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/1.067, allocations: 27.25 kB / 0.7477 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/1.067, allocations: 70.92 kB / 0.7478 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 5.17e-06/1.067, allocations: 0 / 0.7478 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2852/1.352, allocations: 74.73 MB / 0.8207 GB, free: 98.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.352, allocations: 94.73 kB / 0.8208 GB, free: 98.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/1.355, allocations: 2.355 MB / 0.8231 GB, free: 96.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007916/1.356, allocations: 97.7 kB / 0.8232 GB, free: 96.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.357, allocations: 2.34 MB / 0.8255 GB, free: 94.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.358, allocations: 1.434 MB / 0.8269 GB, free: 92.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/1.36, allocations: 0.7254 MB / 0.8276 GB, free: 91.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/1.36, allocations: 301.1 kB / 0.8279 GB, free: 91.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/1.363, allocations: 2.999 MB / 0.8308 GB, free: 88.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/1.367, allocations: 3.851 MB / 0.8346 GB, free: 84.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00761/1.374, allocations: 7.379 MB / 0.8418 GB, free: 76.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.374, allocations: 4 kB / 0.8418 GB, free: 76.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02472/1.399, allocations: 12.56 MB / 0.8541 GB, free: 64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/1.399, allocations: 19.94 kB / 0.8541 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/1.399, allocations: 20 kB / 0.8541 GB, free: 63.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/1.42, allocations: 6.075 MB / 0.86 GB, free: 57.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/1.423, allocations: 491.2 kB / 0.8605 GB, free: 57.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07081/1.493, allocations: 73.03 MB / 0.9318 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/1.498, allocations: 215.8 kB / 0.932 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006053/1.499, allocations: 164 kB / 0.9322 GB, free: 12.65 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003822/1.502, allocations: 1.984 MB / 0.9341 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.503, allocations: 399.3 kB / 0.9345 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02776/1.531, allocations: 12.23 MB / 0.9465 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/1.531, allocations: 44 kB / 0.9465 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001737/1.531, allocations: 48.19 kB / 0.9465 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-05/1.532, allocations: 19.92 kB / 0.9466 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04012/1.572, allocations: 19.14 MB / 0.9652 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/1.572, allocations: 8.938 kB / 0.9653 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.573, allocations: 287.5 kB / 0.9655 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02061/1.594, allocations: 5.619 MB / 0.971 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007874/1.595, allocations: 87.98 kB / 0.9711 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4187/2.014, allocations: 70.67 MB / 1.04 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/2.014, allocations: 14.03 kB / 1.04 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02881/2.042, allocations: 15.61 MB / 1.055 GB, free: 166.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/2.045, allocations: 1.048 MB / 1.056 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009466/2.046, allocations: 79.48 kB / 1.056 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/2.049, allocations: 220.6 kB / 1.057 GB, free: 166.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/2.051, allocations: 401.7 kB / 1.057 GB, free: 166.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/2.051, allocations: 108.7 kB / 1.057 GB, free: 166.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001977/2.053, allocations: 1.559 MB / 1.059 GB, free: 165.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/2.053, allocations: 0 / 1.059 GB, free: 165.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006063/2.059, allocations: 1.859 MB / 1.061 GB, free: 165.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007039/2.06, allocations: 218.5 kB / 1.061 GB, free: 165.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02433/2.084, allocations: 14.98 MB / 1.075 GB, free: 154.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.633e-05/2.084, allocations: 3 kB / 1.075 GB, free: 154.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01358/2.098, allocations: 8.357 MB / 1.084 GB, free: 146.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005958/2.104, allocations: 1.195 MB / 1.085 GB, free: 145.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/2.124, allocations: 13.05 MB / 1.097 GB, free: 133 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004568/2.128, allocations: 4.171 MB / 1.101 GB, free: 128.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/2.129, allocations: 191.4 kB / 1.102 GB, free: 128.6 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/2.129, allocations: 0 / 1.102 GB, free: 128.6 MB / 0.6544 GB Notification: Performance of Templates: time 1.396/3.525, allocations: 0.7437 GB / 1.845 GB, free: 153.3 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)