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.001236/0.001236, allocations: 106.7 kB / 15.98 MB, free: 6.352 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.00118/0.00118, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7502/0.7502, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.4906 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3546, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03452/0.3892, allocations: 37.23 MB / 0.6031 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.4134, allocations: 12.94 MB / 0.6157 GB, free: 8.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005908/0.4194, allocations: 156.7 kB / 0.6159 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.4301, allocations: 3.626 MB / 0.6194 GB, free: 4.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.4413, allocations: 2.299 MB / 0.6217 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009216/0.4505, allocations: 2.482 MB / 0.6241 GB, free: 140 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0152/0.4658, allocations: 9.606 MB / 0.6335 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/0.4903, allocations: 12.75 MB / 0.6459 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009743/0.5002, allocations: 4.057 MB / 0.6499 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009661/0.5099, allocations: 4.587 MB / 0.6544 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003139/0.513, allocations: 0.7695 MB / 0.6551 GB, free: 192 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006679/0.5197, allocations: 1.783 MB / 0.6569 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.006421/0.5262, allocations: 3.033 MB / 0.6598 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.5382, allocations: 3.583 MB / 0.6633 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.5577, allocations: 11.87 MB / 0.6749 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.5577, allocations: 3.938 kB / 0.6749 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5577, allocations: 0 / 0.6749 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005421/0.5583, allocations: 0 / 0.6749 GB, free: 11.86 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.02251/0.5808, allocations: 6.35 MB / 0.6811 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.5809, allocations: 16.56 kB / 0.6811 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.5959, allocations: 1.301 MB / 0.6824 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.6108, allocations: 3.572 MB / 0.6859 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007491/0.6117, allocations: 382.5 kB / 0.6863 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/0.6153, allocations: 0.4885 MB / 0.6867 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03876/0.6541, allocations: 8.886 MB / 0.6954 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004041/0.6546, allocations: 31.7 kB / 0.6954 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002701/0.6573, allocations: 227.9 kB / 0.6957 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004784/0.6621, allocations: 0.6265 MB / 0.6963 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02675/0.6889, allocations: 7.014 MB / 0.7031 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08732/0.7763, allocations: 40.33 MB / 0.7425 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.367/1.143, allocations: 2.882 MB / 0.7453 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00567/1.149, allocations: 2.665 MB / 0.7479 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/1.149, allocations: 27.72 kB / 0.748 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.411e-05/1.15, allocations: 68.11 kB / 0.748 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 8.476e-06/1.15, allocations: 1 kB / 0.748 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2784/1.428, allocations: 74.72 MB / 0.821 GB, free: 97.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.428, allocations: 94.73 kB / 0.8211 GB, free: 97.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/1.431, allocations: 2.352 MB / 0.8234 GB, free: 95.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007525/1.431, allocations: 101.7 kB / 0.8235 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009277/1.432, allocations: 2.34 MB / 0.8258 GB, free: 92.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/1.434, allocations: 1.438 MB / 0.8272 GB, free: 91.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.435, allocations: 0.7215 MB / 0.8279 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/1.435, allocations: 305.1 kB / 0.8282 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.438, allocations: 3.005 MB / 0.8311 GB, free: 87.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/1.442, allocations: 3.839 MB / 0.8348 GB, free: 83.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007351/1.449, allocations: 7.389 MB / 0.8421 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.449, allocations: 8 kB / 0.8421 GB, free: 75.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02517/1.474, allocations: 12.55 MB / 0.8543 GB, free: 62.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/1.475, allocations: 19.98 kB / 0.8543 GB, free: 62.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/1.475, allocations: 24.78 kB / 0.8544 GB, free: 62.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02135/1.496, allocations: 6.078 MB / 0.8603 GB, free: 56.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.498, allocations: 499.1 kB / 0.8608 GB, free: 56.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07232/1.57, allocations: 73.02 MB / 0.9321 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/1.575, allocations: 215.8 kB / 0.9323 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/1.575, allocations: 156 kB / 0.9324 GB, free: 11.43 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.003634/1.579, allocations: 1.997 MB / 0.9344 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.58, allocations: 399.3 kB / 0.9348 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02908/1.609, allocations: 12.23 MB / 0.9467 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/1.609, allocations: 44 kB / 0.9467 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000148/1.609, allocations: 48 kB / 0.9468 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.49e-05/1.609, allocations: 19.92 kB / 0.9468 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03935/1.649, allocations: 19.14 MB / 0.9655 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/1.649, allocations: 12 kB / 0.9655 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/1.65, allocations: 287.6 kB / 0.9658 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02222/1.673, allocations: 5.623 MB / 0.9713 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007819/1.673, allocations: 80 kB / 0.9714 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5035/2.177, allocations: 70.67 MB / 1.04 GB, free: 173 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/2.177, allocations: 11.56 kB / 1.04 GB, free: 173 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/2.205, allocations: 15.62 MB / 1.056 GB, free: 166.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/2.207, allocations: 1.039 MB / 1.057 GB, free: 166.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006816/2.208, allocations: 82.88 kB / 1.057 GB, free: 166 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/2.21, allocations: 215.8 kB / 1.057 GB, free: 166 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001706/2.212, allocations: 405.1 kB / 1.057 GB, free: 165.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/2.212, allocations: 112.3 kB / 1.057 GB, free: 165.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00179/2.214, allocations: 1.551 MB / 1.059 GB, free: 165.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/2.214, allocations: 0 / 1.059 GB, free: 165.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005659/2.22, allocations: 1.861 MB / 1.061 GB, free: 165.1 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.0004942/2.22, allocations: 226.8 kB / 1.061 GB, free: 164.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02278/2.243, allocations: 14.98 MB / 1.076 GB, free: 153.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/2.243, allocations: 4 kB / 1.076 GB, free: 153.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/2.256, allocations: 8.358 MB / 1.084 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005294/2.261, allocations: 1.183 MB / 1.085 GB, free: 145 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/2.281, allocations: 14.81 MB / 1.099 GB, free: 130.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/2.285, allocations: 4.093 MB / 1.103 GB, free: 126.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00275/2.288, allocations: 0.6669 MB / 1.104 GB, free: 125.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/2.289, allocations: 183.4 kB / 1.104 GB, free: 125.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/2.289, allocations: 4 kB / 1.104 GB, free: 125.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.1428/2.431, allocations: 112.3 MB / 1.214 GB, free: 13.79 MB / 0.6544 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)