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.001466/0.001466, allocations: 110.9 kB / 16.42 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.001527/0.001527, 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.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 287.1 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.9967/0.9967, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 107.8 kB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5283, allocations: 86.97 MB / 0.7671 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03253/0.5609, allocations: 26.64 MB / 0.7931 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.5768, allocations: 8.082 MB / 0.801 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.5798, allocations: 123.3 kB / 0.8011 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007484/0.5873, allocations: 2.758 MB / 0.8038 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.5923, allocations: 1.574 MB / 0.8053 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.5969, allocations: 1.677 MB / 0.807 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007864/0.6048, allocations: 6.154 MB / 0.813 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.6158, allocations: 7.307 MB / 0.8201 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.6207, allocations: 2.617 MB / 0.8227 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005163/0.6259, allocations: 2.827 MB / 0.8254 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.6276, allocations: 0.5078 MB / 0.8259 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.6314, allocations: 1.283 MB / 0.8272 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.6341, allocations: 2.051 MB / 0.8292 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.637, allocations: 2.381 MB / 0.8315 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008382/0.6454, allocations: 8.059 MB / 0.8394 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6454, allocations: 0 / 0.8394 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6454, allocations: 0 / 0.8394 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001672/0.6456, allocations: 0 / 0.8394 GB, free: 9.68 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.008632/0.6542, allocations: 4.228 MB / 0.8435 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6543, allocations: 8.031 kB / 0.8435 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.6586, allocations: 0.8039 MB / 0.8443 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.6628, allocations: 2.569 MB / 0.8468 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.6631, allocations: 275.6 kB / 0.8471 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006718/0.6637, allocations: 380.5 kB / 0.8474 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009565/0.6733, allocations: 6.004 MB / 0.8533 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-05/0.6734, allocations: 11.84 kB / 0.8533 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/0.6738, allocations: 160 kB / 0.8535 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005823/0.6744, allocations: 282.8 kB / 0.8537 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007976/0.6824, allocations: 4.528 MB / 0.8582 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.7294, allocations: 27.45 MB / 0.885 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.7325, allocations: 1.121 MB / 0.8861 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.7351, allocations: 1.011 MB / 0.887 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.058e-05/0.7352, allocations: 13 kB / 0.8871 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.7353, allocations: 51.56 kB / 0.8871 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 5.32e-06/0.7353, allocations: 3.938 kB / 0.8871 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04115/0.7764, allocations: 9.669 MB / 0.8966 GB, free: 12.01 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.7766, allocations: 64.72 kB / 0.8966 GB, free: 11.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.7806, allocations: 1.494 MB / 0.8981 GB, free: 10.45 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.7809, allocations: 49.7 kB / 0.8981 GB, free: 10.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.7828, allocations: 1.667 MB / 0.8997 GB, free: 8.703 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007707/0.7836, allocations: 473.3 kB / 0.9002 GB, free: 8.234 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.7847, allocations: 327.2 kB / 0.9005 GB, free: 7.906 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7849, allocations: 301.1 kB / 0.9008 GB, free: 7.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.7875, allocations: 0.9174 MB / 0.9017 GB, free: 6.691 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.7907, allocations: 1.467 MB / 0.9031 GB, free: 4.988 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005969/0.7967, allocations: 2.554 MB / 0.9056 GB, free: 2.191 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.7967, allocations: 4 kB / 0.9056 GB, free: 2.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01098/0.8077, allocations: 3.278 MB / 0.9088 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.8078, allocations: 19.94 kB / 0.9088 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.754e-05/0.8078, allocations: 19.98 kB / 0.9089 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/0.8122, allocations: 0.734 MB / 0.9096 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.8148, allocations: 383.4 kB / 0.9099 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02853/0.8433, allocations: 17.05 MB / 0.9266 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.8463, allocations: 103.8 kB / 0.9267 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/0.8468, allocations: 76 kB / 0.9268 GB, free: 11.2 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.003843/0.8506, allocations: 1.308 MB / 0.928 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/0.8514, allocations: 197.7 kB / 0.9282 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009247/0.8607, allocations: 2.788 MB / 0.931 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.8608, allocations: 7.969 kB / 0.931 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8608, allocations: 0 / 0.931 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.8622, allocations: 458.5 kB / 0.9314 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/0.8628, allocations: 31.94 kB / 0.9314 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.8647, allocations: 67.91 kB / 0.9315 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.865, allocations: 117.1 kB / 0.9316 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01193/0.877, allocations: 2.979 MB / 0.9345 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007767/0.8848, allocations: 3.254 MB / 0.9377 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0014/0.8862, allocations: 0.9549 MB / 0.9386 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001784/0.888, allocations: 0.9981 MB / 0.9396 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of Backend: time 3.6e-07/0.888, allocations: 7.938 kB / 0.9396 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.8947, allocations: 3.243 MB / 0.9428 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01339/0.9081, allocations: 7.078 MB / 0.9497 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.3991/1.307, allocations: 40.47 MB / 0.9892 GB, free: 180.1 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)