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.001179/0.001179, allocations: 111.6 kB / 16.41 MB, free: 6.488 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.001158/0.001158, allocations: 187 kB / 17.34 MB, free: 5.762 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002194, allocations: 292.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 92.28 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4544, allocations: 86.99 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03024/0.4847, allocations: 26.64 MB / 0.7931 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.4992, allocations: 8.082 MB / 0.801 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.5022, allocations: 115.4 kB / 0.8011 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007297/0.5095, allocations: 2.766 MB / 0.8038 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.5145, allocations: 1.668 MB / 0.8054 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.5191, allocations: 1.669 MB / 0.8071 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007409/0.5265, allocations: 6.162 MB / 0.8131 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008095/0.5347, allocations: 7.307 MB / 0.8202 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00449/0.5392, allocations: 2.617 MB / 0.8228 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.5439, allocations: 2.835 MB / 0.8255 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.545, allocations: 0.5078 MB / 0.826 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.5478, allocations: 1.287 MB / 0.8273 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.5499, allocations: 2.043 MB / 0.8293 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.5528, allocations: 2.381 MB / 0.8316 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008294/0.5611, allocations: 8.055 MB / 0.8395 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5612, allocations: 4 kB / 0.8395 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5612, allocations: 0 / 0.8395 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000212/0.5614, allocations: 0 / 0.8395 GB, free: 9.512 MB / 0.6075 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.009595/0.571, allocations: 4.236 MB / 0.8436 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.571, allocations: 8.031 kB / 0.8436 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/0.5755, allocations: 0.8 MB / 0.8444 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.5801, allocations: 2.573 MB / 0.8469 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.5803, allocations: 275.6 kB / 0.8472 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007801/0.5811, allocations: 380.5 kB / 0.8475 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009606/0.5907, allocations: 5.992 MB / 0.8534 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.75e-05/0.5909, allocations: 19.78 kB / 0.8534 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.5912, allocations: 156 kB / 0.8536 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000573/0.5918, allocations: 290.9 kB / 0.8538 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007018/0.5988, allocations: 4.52 MB / 0.8582 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/0.6254, allocations: 27.46 MB / 0.8851 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6271, allocations: 1.119 MB / 0.8861 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.6285, allocations: 1.007 MB / 0.8871 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.6285, allocations: 16.98 kB / 0.8871 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.6286, allocations: 55.55 kB / 0.8872 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.287e-06/0.6286, allocations: 7.938 kB / 0.8872 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02154/0.6501, allocations: 9.661 MB / 0.8966 GB, free: 11.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6502, allocations: 68.66 kB / 0.8967 GB, free: 11.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.6522, allocations: 1.49 MB / 0.8982 GB, free: 10.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.6523, allocations: 53.7 kB / 0.8982 GB, free: 10.22 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.6534, allocations: 1.667 MB / 0.8998 GB, free: 8.527 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/0.6538, allocations: 465.3 kB / 0.9003 GB, free: 8.066 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/0.6543, allocations: 335.1 kB / 0.9006 GB, free: 7.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.6544, allocations: 309.1 kB / 0.9009 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.6557, allocations: 0.9135 MB / 0.9018 GB, free: 6.512 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.6573, allocations: 1.463 MB / 0.9032 GB, free: 4.812 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.6604, allocations: 2.546 MB / 0.9057 GB, free: 2.023 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.6604, allocations: 4 kB / 0.9057 GB, free: 2.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0057/0.6661, allocations: 3.29 MB / 0.9089 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.6662, allocations: 15.94 kB / 0.9089 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.6662, allocations: 16 kB / 0.909 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.6685, allocations: 0.7337 MB / 0.9097 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.6701, allocations: 387.3 kB / 0.91 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.6858, allocations: 17.05 MB / 0.9267 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.6875, allocations: 99.84 kB / 0.9268 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.6877, allocations: 76 kB / 0.9269 GB, free: 11.03 MB / 0.7012 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.002057/0.6897, allocations: 1.315 MB / 0.9281 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.6901, allocations: 201.6 kB / 0.9283 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/0.6951, allocations: 2.788 MB / 0.9311 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6951, allocations: 12 kB / 0.9311 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6951, allocations: 4 kB / 0.9311 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6951, allocations: 11.97 kB / 0.9311 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009789/0.7049, allocations: 6.213 MB / 0.9371 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.7049, allocations: 4.656 kB / 0.9372 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.7061, allocations: 231.6 kB / 0.9374 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.7082, allocations: 0.6749 MB / 0.938 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7083, allocations: 35.94 kB / 0.9381 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.723, allocations: 16.78 MB / 0.9545 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.7231, allocations: 11.94 kB / 0.9545 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006062/0.7291, allocations: 3.993 MB / 0.9584 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008718/0.73, allocations: 458.6 kB / 0.9588 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.7303, allocations: 39.92 kB / 0.9588 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.7312, allocations: 83.83 kB / 0.9589 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/0.7315, allocations: 120.7 kB / 0.959 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.7316, allocations: 36 kB / 0.9591 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001384/0.733, allocations: 0.9942 MB / 0.96 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.733, allocations: 4 kB / 0.96 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00209/0.7351, allocations: 0.6836 MB / 0.9607 GB, free: 6.727 MB / 0.7325 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.0002445/0.7353, allocations: 162.2 kB / 0.9609 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005032/0.7404, allocations: 3.518 MB / 0.9643 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.7404, allocations: 4.875 kB / 0.9643 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.7437, allocations: 2.295 MB / 0.9666 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3544/1.098, allocations: 0.6683 MB / 0.9672 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.111, allocations: 6.929 MB / 0.974 GB, free: 182.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.114, allocations: 2.723 MB / 0.9766 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/1.115, allocations: 130.8 kB / 0.9768 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/1.115, allocations: 0 / 0.9768 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1369/1.252, allocations: 209.9 MB / 1.182 GB, free: 14.17 MB / 0.7637 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)