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.001529/0.001529, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001978/0.001978, allocations: 194 kB / 16.25 MB, free: 6.617 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.00204, allocations: 294.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 88.78 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1715, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02729/0.1988, allocations: 26.42 MB / 0.7054 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.2121, allocations: 8.01 MB / 0.7133 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.2151, allocations: 107.4 kB / 0.7134 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006805/0.2219, allocations: 2.578 MB / 0.7159 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.2263, allocations: 1.462 MB / 0.7173 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.2307, allocations: 1.536 MB / 0.7188 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007798/0.2385, allocations: 6.15 MB / 0.7248 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.2523, allocations: 8.963 MB / 0.7336 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.2567, allocations: 2.616 MB / 0.7361 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00438/0.2611, allocations: 2.967 MB / 0.739 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.2627, allocations: 0.5078 MB / 0.7395 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.266, allocations: 1.283 MB / 0.7408 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.2689, allocations: 2.05 MB / 0.7428 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004447/0.2734, allocations: 2.381 MB / 0.7451 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009432/0.2829, allocations: 8.074 MB / 0.753 GB, free: 5.672 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2829, allocations: 0 / 0.753 GB, free: 5.672 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2829, allocations: 0 / 0.753 GB, free: 5.672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002641/0.2832, allocations: 0 / 0.753 GB, free: 5.672 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.01089/0.2941, allocations: 4.228 MB / 0.7571 GB, free: 1.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2941, allocations: 8.031 kB / 0.7571 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.2989, allocations: 0.8001 MB / 0.7579 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/0.3038, allocations: 2.428 MB / 0.7603 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.3041, allocations: 271.6 kB / 0.7605 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001802/0.3059, allocations: 380.5 kB / 0.7609 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.3186, allocations: 5.984 MB / 0.7667 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.3188, allocations: 27.7 kB / 0.7668 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007427/0.3195, allocations: 160 kB / 0.7669 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005969/0.3201, allocations: 278.9 kB / 0.7672 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008203/0.3283, allocations: 4.528 MB / 0.7716 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.298/0.6264, allocations: 27.65 MB / 0.7986 GB, free: 65.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.628, allocations: 1.127 MB / 0.7997 GB, free: 65.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.6293, allocations: 1.014 MB / 0.8007 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.6294, allocations: 17.88 kB / 0.8007 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6294, allocations: 45.72 kB / 0.8008 GB, free: 64.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.785e-06/0.6295, allocations: 0 / 0.8008 GB, free: 64.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02033/0.6498, allocations: 9.657 MB / 0.8102 GB, free: 60.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.6499, allocations: 69.34 kB / 0.8103 GB, free: 60.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.6524, allocations: 1.5 MB / 0.8117 GB, free: 59.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.6525, allocations: 51.33 kB / 0.8118 GB, free: 59.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/0.6532, allocations: 1.663 MB / 0.8134 GB, free: 58.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.6535, allocations: 469.2 kB / 0.8138 GB, free: 57.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/0.654, allocations: 332.1 kB / 0.8142 GB, free: 57.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.654, allocations: 302.2 kB / 0.8144 GB, free: 57.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.6552, allocations: 0.9165 MB / 0.8153 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.6566, allocations: 1.466 MB / 0.8168 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.6594, allocations: 2.542 MB / 0.8193 GB, free: 53.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.6594, allocations: 9.281 kB / 0.8193 GB, free: 53.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005131/0.6646, allocations: 3.28 MB / 0.8225 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.6646, allocations: 17.05 kB / 0.8225 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.6647, allocations: 16.62 kB / 0.8225 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.6668, allocations: 0.7436 MB / 0.8232 GB, free: 51.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.6683, allocations: 388.4 kB / 0.8236 GB, free: 51.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.6798, allocations: 17.06 MB / 0.8403 GB, free: 35.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.6815, allocations: 97.88 kB / 0.8403 GB, free: 35.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.6818, allocations: 78.7 kB / 0.8404 GB, free: 35.66 MB / 0.5606 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.001858/0.6836, allocations: 1.315 MB / 0.8417 GB, free: 34.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/0.684, allocations: 202.9 kB / 0.8419 GB, free: 34.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.6884, allocations: 2.789 MB / 0.8446 GB, free: 33.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.6884, allocations: 15.25 kB / 0.8446 GB, free: 33.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/0.6885, allocations: 7.5 kB / 0.8446 GB, free: 33.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6885, allocations: 3.984 kB / 0.8447 GB, free: 33.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009591/0.6981, allocations: 6.216 MB / 0.8507 GB, free: 28.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.6981, allocations: 4 kB / 0.8507 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6992, allocations: 232.3 kB / 0.8509 GB, free: 27.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.701, allocations: 0.6787 MB / 0.8516 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.7011, allocations: 35.98 kB / 0.8516 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.7121, allocations: 16.79 MB / 0.868 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.7122, allocations: 19.86 kB / 0.8681 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.7173, allocations: 4 MB / 0.872 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/0.7181, allocations: 458.6 kB / 0.8724 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.7185, allocations: 35.91 kB / 0.8724 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/0.7195, allocations: 79.89 kB / 0.8725 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.7197, allocations: 116.7 kB / 0.8726 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.7198, allocations: 40 kB / 0.8727 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001142/0.721, allocations: 0.9942 MB / 0.8736 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.82e-07/0.721, allocations: 0 / 0.8736 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002048/0.723, allocations: 0.6874 MB / 0.8743 GB, free: 2.508 MB / 0.5606 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.0002356/0.7233, allocations: 161 kB / 0.8745 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005559/0.7288, allocations: 4.1 MB / 0.8785 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.7289, allocations: 0 / 0.8785 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.7318, allocations: 2.298 MB / 0.8807 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.7346, allocations: 0.6698 MB / 0.8814 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.7461, allocations: 8.114 MB / 0.8893 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/0.7495, allocations: 2.659 MB / 0.8919 GB, free: 244 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001732/0.7512, allocations: 489.4 kB / 0.8923 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.7516, allocations: 123.4 kB / 0.8925 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/0.7516, allocations: 0 / 0.8925 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.05544/0.8071, allocations: 33.85 MB / 0.9255 GB, free: 14.35 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)