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.001099/0.001099, allocations: 113.3 kB / 17.04 MB, free: 5.812 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.001177/0.001177, allocations: 195 kB / 17.98 MB, free: 5.027 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.88 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3872, allocations: 76.13 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03845/0.4257, allocations: 37.57 MB / 0.5943 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.4485, allocations: 13.03 MB / 0.607 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006295/0.4548, allocations: 172.4 kB / 0.6072 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.4658, allocations: 3.89 MB / 0.611 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008507/0.4744, allocations: 2.484 MB / 0.6134 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007744/0.4821, allocations: 2.71 MB / 0.616 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.4961, allocations: 9.574 MB / 0.6254 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01372/0.5098, allocations: 10.5 MB / 0.6356 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007949/0.5178, allocations: 3.996 MB / 0.6395 GB, free: 408 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.5284, allocations: 4.377 MB / 0.6438 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0034/0.5319, allocations: 0.7695 MB / 0.6446 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006151/0.538, allocations: 1.787 MB / 0.6463 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005162/0.5432, allocations: 3.037 MB / 0.6493 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007912/0.5512, allocations: 3.583 MB / 0.6528 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.5656, allocations: 11.85 MB / 0.6644 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5656, allocations: 0 / 0.6644 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5657, allocations: 0 / 0.6644 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003684/0.566, allocations: 0 / 0.6644 GB, free: 6.926 MB / 0.4981 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.01644/0.5825, allocations: 6.354 MB / 0.6706 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5825, allocations: 16.03 kB / 0.6706 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008447/0.591, allocations: 1.293 MB / 0.6718 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009565/0.6006, allocations: 3.791 MB / 0.6755 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.601, allocations: 386.4 kB / 0.6759 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.6027, allocations: 0.4962 MB / 0.6764 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.6188, allocations: 8.882 MB / 0.6851 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.619, allocations: 35.7 kB / 0.6851 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005992/0.6196, allocations: 216 kB / 0.6853 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.6215, allocations: 0.6342 MB / 0.6859 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.6347, allocations: 7.01 MB / 0.6928 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05177/0.6865, allocations: 40.06 MB / 0.7319 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.6906, allocations: 2.902 MB / 0.7347 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.6947, allocations: 2.667 MB / 0.7373 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.695, allocations: 26.09 kB / 0.7374 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.272e-05/0.6951, allocations: 68.59 kB / 0.7374 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 5.179e-06/0.6951, allocations: 0 / 0.7374 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.5914/1.287, allocations: 74.65 MB / 0.8103 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/1.287, allocations: 98.67 kB / 0.8104 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/1.29, allocations: 2.355 MB / 0.8127 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008218/1.29, allocations: 97.7 kB / 0.8128 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009457/1.291, allocations: 2.332 MB / 0.8151 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.293, allocations: 1.444 MB / 0.8165 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/1.294, allocations: 0.7215 MB / 0.8172 GB, free: 111.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/1.294, allocations: 305.1 kB / 0.8175 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/1.297, allocations: 2.999 MB / 0.8204 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/1.301, allocations: 3.835 MB / 0.8242 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007744/1.309, allocations: 7.391 MB / 0.8314 GB, free: 96.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/1.309, allocations: 8.656 kB / 0.8314 GB, free: 96.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02413/1.333, allocations: 12.56 MB / 0.8437 GB, free: 83.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/1.333, allocations: 12 kB / 0.8437 GB, free: 83.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/1.333, allocations: 24 kB / 0.8437 GB, free: 83.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0197/1.353, allocations: 6.018 MB / 0.8496 GB, free: 77.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.355, allocations: 495.2 kB / 0.85 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09815/1.453, allocations: 73 MB / 0.9213 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.457, allocations: 215.8 kB / 0.9215 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008744/1.457, allocations: 148 kB / 0.9217 GB, free: 120 kB / 0.5762 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.003902/1.461, allocations: 1.995 MB / 0.9236 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.462, allocations: 395.4 kB / 0.924 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02748/1.49, allocations: 12.22 MB / 0.9359 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/1.49, allocations: 47.94 kB / 0.936 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001662/1.49, allocations: 48 kB / 0.936 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/1.49, allocations: 19.92 kB / 0.9361 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03955/1.53, allocations: 19.15 MB / 0.9548 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/1.53, allocations: 8 kB / 0.9548 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.532, allocations: 283.6 kB / 0.955 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01967/1.551, allocations: 5.572 MB / 0.9605 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005894/1.552, allocations: 76 kB / 0.9605 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3226/1.874, allocations: 70.61 MB / 1.03 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.874, allocations: 12.55 kB / 1.03 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03054/1.905, allocations: 15.62 MB / 1.045 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/1.908, allocations: 1.038 MB / 1.046 GB, free: 158.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.908, allocations: 86.14 kB / 1.046 GB, free: 158.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/1.911, allocations: 218.1 kB / 1.046 GB, free: 158.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/1.912, allocations: 403 kB / 1.046 GB, free: 158 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.912, allocations: 112.2 kB / 1.047 GB, free: 158 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001755/1.914, allocations: 1.555 MB / 1.048 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.914, allocations: 0 / 1.048 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00505/1.919, allocations: 1.86 MB / 1.05 GB, free: 157.2 MB / 0.6387 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.0004742/1.919, allocations: 219 kB / 1.05 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.937, allocations: 12.2 MB / 1.062 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.937, allocations: 3.938 kB / 1.062 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01334/1.95, allocations: 8.343 MB / 1.07 GB, free: 144 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/1.955, allocations: 1.187 MB / 1.071 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.972, allocations: 12.22 MB / 1.083 GB, free: 132.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/1.976, allocations: 4.092 MB / 1.087 GB, free: 128.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002062/1.978, allocations: 0.6717 MB / 1.088 GB, free: 128.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/1.979, allocations: 183.4 kB / 1.088 GB, free: 128.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/1.979, allocations: 0 / 1.088 GB, free: 128.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.1309/2.109, allocations: 109.1 MB / 1.195 GB, free: 20.33 MB / 0.6387 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)