Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, 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.001796/0.001796, 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.377/1.377, 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.7714/0.7714, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 59.91 kB / 0.4918 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3959, allocations: 77.92 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03809/0.434, allocations: 41.16 MB / 0.608 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02659/0.4607, allocations: 15.09 MB / 0.6228 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006353/0.4671, allocations: 187.9 kB / 0.623 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.4789, allocations: 4.467 MB / 0.6273 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009878/0.4888, allocations: 2.794 MB / 0.63 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009377/0.4982, allocations: 3.149 MB / 0.6331 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.5138, allocations: 11.4 MB / 0.6443 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02156/0.5355, allocations: 12.64 MB / 0.6566 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009084/0.5446, allocations: 4.802 MB / 0.6613 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009917/0.5545, allocations: 5.382 MB / 0.6665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003846/0.5584, allocations: 0.9492 MB / 0.6675 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007641/0.5661, allocations: 2.036 MB / 0.6695 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.007214/0.5733, allocations: 3.695 MB / 0.6731 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01052/0.5839, allocations: 4.295 MB / 0.6773 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0196/0.6035, allocations: 14.19 MB / 0.6911 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6036, allocations: 0 / 0.6911 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6036, allocations: 0 / 0.6911 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005624/0.6041, allocations: 4 kB / 0.6911 GB, free: 12.22 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02601/0.6302, allocations: 7.589 MB / 0.6985 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6302, allocations: 8.625 kB / 0.6985 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.6423, allocations: 1.518 MB / 0.7 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.6529, allocations: 4.213 MB / 0.7041 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005183/0.6535, allocations: 456.4 kB / 0.7046 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/0.6563, allocations: 0.5977 MB / 0.7052 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/0.6829, allocations: 10.69 MB / 0.7156 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003833/0.6833, allocations: 31.7 kB / 0.7156 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002473/0.6858, allocations: 267.9 kB / 0.7159 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003336/0.6892, allocations: 0.7729 MB / 0.7166 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.7091, allocations: 8.557 MB / 0.725 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4039/1.113, allocations: 46.85 MB / 0.7707 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/1.119, allocations: 4.307 MB / 0.7749 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005468/1.125, allocations: 3.699 MB / 0.7786 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/1.125, allocations: 35.78 kB / 0.7786 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/1.125, allocations: 81.25 kB / 0.7787 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 5.01e-06/1.125, allocations: 0 / 0.7787 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4922/1.618, allocations: 122.8 MB / 0.8986 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/1.618, allocations: 119.9 kB / 0.8987 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/1.622, allocations: 2.677 MB / 0.9013 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/1.623, allocations: 121.7 kB / 0.9014 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/1.625, allocations: 2.686 MB / 0.9041 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002474/1.627, allocations: 1.945 MB / 0.906 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003404/1.631, allocations: 0.9248 MB / 0.9069 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/1.631, allocations: 301.1 kB / 0.9072 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005735/1.637, allocations: 4.087 MB / 0.9111 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/1.644, allocations: 5.015 MB / 0.916 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/1.661, allocations: 9.851 MB / 0.9257 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-05/1.661, allocations: 12 kB / 0.9257 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04544/1.706, allocations: 17 MB / 0.9423 GB, free: 480 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/1.706, allocations: 14.03 kB / 0.9423 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.272e-05/1.706, allocations: 24 kB / 0.9423 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03414/1.741, allocations: 9.15 MB / 0.9512 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/1.743, allocations: 0.5342 MB / 0.9518 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4491/2.192, allocations: 77.01 MB / 1.027 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/2.198, allocations: 286.6 kB / 1.027 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/2.199, allocations: 187.3 kB / 1.027 GB, free: 213.5 MB / 0.67 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005769/2.205, allocations: 2.418 MB / 1.03 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/2.207, allocations: 477.5 kB / 1.03 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03756/2.244, allocations: 16.82 MB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/2.244, allocations: 55.22 kB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002311/2.245, allocations: 70.56 kB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/2.245, allocations: 30.22 kB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05009/2.295, allocations: 25.65 MB / 1.072 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.039e-05/2.295, allocations: 8 kB / 1.072 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/2.297, allocations: 319.5 kB / 1.072 GB, free: 192.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02713/2.324, allocations: 8.341 MB / 1.08 GB, free: 183.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/2.325, allocations: 109.4 kB / 1.08 GB, free: 183.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08272/2.408, allocations: 73.88 MB / 1.153 GB, free: 108.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/2.408, allocations: 19.92 kB / 1.153 GB, free: 108.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03872/2.447, allocations: 21.57 MB / 1.174 GB, free: 86.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003999/2.451, allocations: 1.362 MB / 1.175 GB, free: 85.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/2.452, allocations: 111.7 kB / 1.175 GB, free: 85.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/2.457, allocations: 287.6 kB / 1.175 GB, free: 85.03 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002058/2.459, allocations: 0.5221 MB / 1.176 GB, free: 84.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004799/2.459, allocations: 144 kB / 1.176 GB, free: 84.36 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002425/2.462, allocations: 1.78 MB / 1.178 GB, free: 82.59 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/2.462, allocations: 4 kB / 1.178 GB, free: 82.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008561/2.47, allocations: 2.461 MB / 1.18 GB, free: 80.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/2.471, allocations: 236.9 kB / 1.18 GB, free: 79.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03276/2.504, allocations: 18.67 MB / 1.199 GB, free: 61.05 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/2.504, allocations: 0 / 1.199 GB, free: 61.05 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.521, allocations: 9.349 MB / 1.208 GB, free: 51.56 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008768/2.53, allocations: 1.376 MB / 1.209 GB, free: 50.24 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/2.562, allocations: 16.65 MB / 1.225 GB, free: 33.53 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008019/2.57, allocations: 4.99 MB / 1.23 GB, free: 28.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/2.572, allocations: 215.4 kB / 1.23 GB, free: 28.29 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/2.572, allocations: 0 / 1.23 GB, free: 28.29 MB / 0.67 GB Notification: Performance of Templates: time 1.019/3.591, allocations: 474.6 MB / 1.694 GB, free: 85.05 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)