Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007747/0.0007747, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005005/0.005005, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 270.8 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 17.41 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0261/0.1873, allocations: 25.71 MB / 0.7103 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.2008, allocations: 8.011 MB / 0.7181 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.2033, allocations: 95.44 kB / 0.7182 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.2049, allocations: 0.5233 MB / 0.7187 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.2092, allocations: 1.493 MB / 0.7201 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.2129, allocations: 1.387 MB / 0.7215 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009269/0.2222, allocations: 8.693 MB / 0.73 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01335/0.2356, allocations: 9.172 MB / 0.7389 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.2392, allocations: 1.851 MB / 0.7407 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00392/0.2432, allocations: 2.452 MB / 0.7431 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005627/0.2437, allocations: 216 kB / 0.7433 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.2462, allocations: 1.197 MB / 0.7445 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.2479, allocations: 1.675 MB / 0.7461 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.2501, allocations: 1.961 MB / 0.7481 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007033/0.2572, allocations: 7.678 MB / 0.7556 GB, free: 6.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2572, allocations: 0 / 0.7556 GB, free: 6.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2572, allocations: 0 / 0.7556 GB, free: 6.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002004/0.2574, allocations: 0 / 0.7556 GB, free: 6.688 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007278/0.2647, allocations: 3.419 MB / 0.7589 GB, free: 3.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2647, allocations: 12.03 kB / 0.7589 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/0.2693, allocations: 0.8039 MB / 0.7597 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3129/0.5822, allocations: 2.417 MB / 0.7621 GB, free: 71.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.5826, allocations: 275.4 kB / 0.7623 GB, free: 71.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.5839, allocations: 375.4 kB / 0.7627 GB, free: 71.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.5954, allocations: 5.994 MB / 0.7685 GB, free: 69.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.5955, allocations: 19.66 kB / 0.7686 GB, free: 69.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.5959, allocations: 159.5 kB / 0.7687 GB, free: 69.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006249/0.5965, allocations: 284.1 kB / 0.769 GB, free: 69.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00787/0.6044, allocations: 4.522 MB / 0.7734 GB, free: 67.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.6297, allocations: 27.71 MB / 0.8004 GB, free: 44.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.6312, allocations: 1.121 MB / 0.8015 GB, free: 43.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.6324, allocations: 1.018 MB / 0.8025 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.6325, allocations: 12.44 kB / 0.8025 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.6325, allocations: 48.41 kB / 0.8026 GB, free: 42.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 3.005e-06/0.6325, allocations: 0 / 0.8026 GB, free: 42.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.02027/0.6528, allocations: 9.679 MB / 0.812 GB, free: 37.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.6529, allocations: 64.59 kB / 0.8121 GB, free: 37.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.6546, allocations: 1.499 MB / 0.8136 GB, free: 36.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6547, allocations: 45.61 kB / 0.8136 GB, free: 36.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000662/0.6554, allocations: 1.668 MB / 0.8152 GB, free: 34.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.6557, allocations: 466.7 kB / 0.8157 GB, free: 34.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.6558, allocations: 148.6 kB / 0.8158 GB, free: 34.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.6559, allocations: 301.1 kB / 0.8161 GB, free: 34.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.657, allocations: 0.9175 MB / 0.817 GB, free: 33.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.6582, allocations: 1.462 MB / 0.8184 GB, free: 32.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.6606, allocations: 2.538 MB / 0.8209 GB, free: 30.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.6607, allocations: 3.875 kB / 0.8209 GB, free: 30.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004815/0.6655, allocations: 3.295 MB / 0.8241 GB, free: 27.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.6655, allocations: 13.88 kB / 0.8242 GB, free: 27.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6656, allocations: 20 kB / 0.8242 GB, free: 27.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.6676, allocations: 0.7337 MB / 0.8249 GB, free: 26.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.669, allocations: 391.3 kB / 0.8253 GB, free: 26.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.6798, allocations: 15.78 MB / 0.8407 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.6814, allocations: 103.9 kB / 0.8408 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6816, allocations: 73.22 kB / 0.8408 GB, free: 9.426 MB / 0.545 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001819/0.6834, allocations: 1.31 MB / 0.8421 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.6837, allocations: 205.7 kB / 0.8423 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.6879, allocations: 2.788 MB / 0.845 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6879, allocations: 12 kB / 0.845 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6879, allocations: 8 kB / 0.8451 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6879, allocations: 11.97 kB / 0.8451 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008821/0.6967, allocations: 6.215 MB / 0.8511 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.6968, allocations: 4.188 kB / 0.8511 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.6979, allocations: 243.6 kB / 0.8514 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.6999, allocations: 0.6637 MB / 0.852 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.7, allocations: 32 kB / 0.852 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.7144, allocations: 15.53 MB / 0.8672 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7144, allocations: 11.31 kB / 0.8672 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/0.7206, allocations: 4.004 MB / 0.8711 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009487/0.7215, allocations: 454.6 kB / 0.8716 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.7218, allocations: 35.98 kB / 0.8716 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.7226, allocations: 87.83 kB / 0.8717 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.7229, allocations: 112.7 kB / 0.8718 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.723, allocations: 40 kB / 0.8718 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001252/0.7243, allocations: 0.9903 MB / 0.8728 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7243, allocations: 4 kB / 0.8728 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002141/0.7264, allocations: 0.6836 MB / 0.8735 GB, free: 6.492 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.7267, allocations: 155 kB / 0.8736 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005037/0.7318, allocations: 3.504 MB / 0.877 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7318, allocations: 0 / 0.877 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.7349, allocations: 2.293 MB / 0.8793 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/0.7393, allocations: 0.6197 MB / 0.8799 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.7504, allocations: 8.212 MB / 0.8879 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/0.753, allocations: 2.672 MB / 0.8905 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001668/0.7547, allocations: 485.4 kB / 0.891 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.7551, allocations: 119.4 kB / 0.8911 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.7551, allocations: 0 / 0.8911 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of Templates: time 0.05191/0.807, allocations: 32.06 MB / 0.9224 GB, free: 4.551 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)