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.001107/0.001108, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001056/0.001056, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002249/0.002249, allocations: 300.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9956/0.9956, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 91.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4503, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02905/0.4793, allocations: 26.65 MB / 0.7931 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.4934, allocations: 8.082 MB / 0.801 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.4957, allocations: 119.4 kB / 0.8011 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006872/0.5026, allocations: 2.762 MB / 0.8038 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.5074, allocations: 1.664 MB / 0.8054 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.512, allocations: 1.677 MB / 0.8071 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007132/0.5192, allocations: 6.161 MB / 0.8131 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009735/0.5289, allocations: 7.307 MB / 0.8202 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.5335, allocations: 2.617 MB / 0.8228 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004756/0.5383, allocations: 2.831 MB / 0.8255 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.5399, allocations: 0.5078 MB / 0.826 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.5434, allocations: 1.291 MB / 0.8273 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003019/0.5464, allocations: 2.043 MB / 0.8293 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004403/0.5508, allocations: 2.385 MB / 0.8316 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009399/0.5602, allocations: 8.047 MB / 0.8395 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5603, allocations: 0 / 0.8395 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5603, allocations: 3.938 kB / 0.8395 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002503/0.5605, allocations: 3.938 kB / 0.8395 GB, free: 9.488 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.01118/0.5717, allocations: 4.228 MB / 0.8436 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5718, allocations: 8.031 kB / 0.8436 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.577, allocations: 0.8078 MB / 0.8444 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006934/0.5839, allocations: 2.573 MB / 0.8469 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.5842, allocations: 275.6 kB / 0.8472 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.5855, allocations: 384.5 kB / 0.8475 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.5976, allocations: 5.988 MB / 0.8534 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.5977, allocations: 19.84 kB / 0.8534 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/0.5981, allocations: 156 kB / 0.8536 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005999/0.5988, allocations: 286.9 kB / 0.8538 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008714/0.6075, allocations: 4.524 MB / 0.8583 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.6369, allocations: 27.45 MB / 0.8851 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6385, allocations: 1.127 MB / 0.8862 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.6398, allocations: 1.011 MB / 0.8871 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.105e-05/0.6399, allocations: 13 kB / 0.8872 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.6399, allocations: 47.55 kB / 0.8872 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.116e-06/0.6399, allocations: 7.938 kB / 0.8872 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02235/0.6623, allocations: 9.669 MB / 0.8967 GB, free: 11.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6624, allocations: 68.72 kB / 0.8967 GB, free: 11.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.6647, allocations: 1.486 MB / 0.8982 GB, free: 10.26 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.6649, allocations: 53.7 kB / 0.8982 GB, free: 10.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.666, allocations: 1.663 MB / 0.8998 GB, free: 8.512 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.6664, allocations: 469.3 kB / 0.9003 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005625/0.667, allocations: 331.1 kB / 0.9006 GB, free: 7.715 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.6671, allocations: 305.1 kB / 0.9009 GB, free: 7.414 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.6684, allocations: 0.9174 MB / 0.9018 GB, free: 6.496 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.6701, allocations: 1.459 MB / 0.9032 GB, free: 4.801 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.6733, allocations: 2.554 MB / 0.9057 GB, free: 2.004 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.6733, allocations: 4 kB / 0.9057 GB, free: 2 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005939/0.6793, allocations: 3.286 MB / 0.9089 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.6793, allocations: 19.06 kB / 0.9089 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6794, allocations: 20.16 kB / 0.909 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.6817, allocations: 0.7373 MB / 0.9097 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.6834, allocations: 383.4 kB / 0.9101 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.6998, allocations: 17.04 MB / 0.9267 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.7016, allocations: 99.84 kB / 0.9268 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.7019, allocations: 79.94 kB / 0.9269 GB, free: 11.01 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.002335/0.7042, allocations: 1.311 MB / 0.9281 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/0.7048, allocations: 197.7 kB / 0.9283 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/0.7104, allocations: 2.784 MB / 0.9311 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.7104, allocations: 11.97 kB / 0.9311 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7104, allocations: 7.875 kB / 0.9311 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.7115, allocations: 454.5 kB / 0.9315 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004491/0.7119, allocations: 31.92 kB / 0.9315 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7131, allocations: 71.91 kB / 0.9316 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.7134, allocations: 113.1 kB / 0.9317 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006857/0.7202, allocations: 2.983 MB / 0.9346 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004592/0.7249, allocations: 3.254 MB / 0.9378 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001267/0.7262, allocations: 0.9549 MB / 0.9387 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001865/0.728, allocations: 0.9981 MB / 0.9397 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of Backend: time 5.71e-07/0.7281, allocations: 0 / 0.9397 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006794/0.7349, allocations: 3.242 MB / 0.9429 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01423/0.7491, allocations: 7.077 MB / 0.9498 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of Templates: time 0.451/1.2, allocations: 40.46 MB / 0.9893 GB, free: 179.8 MB / 0.7325 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)