Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 113.1 kB / 16.42 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.001985/0.001985, allocations: 186.5 kB / 17.35 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002189/0.002189, allocations: 295.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9728/0.9728, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4884, allocations: 86.97 MB / 0.7671 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05021/0.5387, allocations: 41.18 MB / 0.8073 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0259/0.5646, allocations: 15.08 MB / 0.822 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005194/0.5699, allocations: 187.1 kB / 0.8222 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.5819, allocations: 4.467 MB / 0.8266 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008987/0.591, allocations: 2.931 MB / 0.8294 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00916/0.6002, allocations: 3.163 MB / 0.8325 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01618/0.6164, allocations: 11.42 MB / 0.8437 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02058/0.637, allocations: 12.46 MB / 0.8558 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009696/0.6467, allocations: 4.911 MB / 0.8606 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.657, allocations: 5.394 MB / 0.8659 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.004062/0.6611, allocations: 0.9492 MB / 0.8668 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.6714, allocations: 2.036 MB / 0.8688 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.009543/0.681, allocations: 3.688 MB / 0.8724 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01417/0.6952, allocations: 4.299 MB / 0.8766 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02981/0.725, allocations: 14.28 MB / 0.8905 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.7251, allocations: 0 / 0.8905 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.837e-06/0.7251, allocations: 0 / 0.8905 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000536/0.7257, allocations: 4 kB / 0.8906 GB, free: 4.758 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03717/0.7629, allocations: 7.604 MB / 0.898 GB, free: 13.07 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.763, allocations: 12.02 kB / 0.898 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/0.7828, allocations: 1.518 MB / 0.8995 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.7941, allocations: 4.435 MB / 0.9038 GB, free: 7.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/0.7946, allocations: 456.5 kB / 0.9042 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002412/0.797, allocations: 0.6017 MB / 0.9048 GB, free: 5.969 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.8212, allocations: 10.69 MB / 0.9153 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003077/0.8216, allocations: 27.77 kB / 0.9153 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.8236, allocations: 263.9 kB / 0.9155 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00311/0.8267, allocations: 0.7729 MB / 0.9163 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.845, allocations: 8.557 MB / 0.9247 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4694/1.314, allocations: 46.53 MB / 0.9701 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006146/1.321, allocations: 4.313 MB / 0.9743 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004724/1.325, allocations: 3.71 MB / 0.9779 GB, free: 171.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/1.326, allocations: 39.2 kB / 0.978 GB, free: 171.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/1.326, allocations: 78.67 kB / 0.978 GB, free: 171.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.28e-06/1.326, allocations: 1.094 kB / 0.978 GB, free: 171.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4843/1.81, allocations: 122.8 MB / 1.098 GB, free: 66.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/1.81, allocations: 119.9 kB / 1.098 GB, free: 66.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/1.813, allocations: 2.677 MB / 1.101 GB, free: 63.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008937/1.814, allocations: 125.7 kB / 1.101 GB, free: 63.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.815, allocations: 2.679 MB / 1.103 GB, free: 60.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.817, allocations: 1.953 MB / 1.105 GB, free: 58.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/1.818, allocations: 0.9287 MB / 1.106 GB, free: 57.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/1.819, allocations: 301.1 kB / 1.107 GB, free: 57.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004667/1.823, allocations: 4.075 MB / 1.11 GB, free: 53.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005405/1.829, allocations: 5.023 MB / 1.115 GB, free: 48.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.84, allocations: 9.848 MB / 1.125 GB, free: 37.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/1.841, allocations: 4 kB / 1.125 GB, free: 37.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03496/1.875, allocations: 17 MB / 1.142 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.876, allocations: 19.28 kB / 1.142 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.876, allocations: 24 kB / 1.142 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03026/1.906, allocations: 9.076 MB / 1.151 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.908, allocations: 0.5213 MB / 1.151 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1095/2.018, allocations: 76.97 MB / 1.226 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/2.024, allocations: 279.9 kB / 1.226 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/2.025, allocations: 196 kB / 1.227 GB, free: 12.01 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005131/2.03, allocations: 2.428 MB / 1.229 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/2.031, allocations: 474.4 kB / 1.229 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04032/2.072, allocations: 16.81 MB / 1.246 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000139/2.072, allocations: 31.89 kB / 1.246 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/2.072, allocations: 0 / 1.246 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004274/2.076, allocations: 1.432 MB / 1.247 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/2.077, allocations: 96 kB / 1.247 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/2.081, allocations: 243.7 kB / 1.248 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00175/2.083, allocations: 0.7296 MB / 1.248 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04646/2.13, allocations: 17.73 MB / 1.266 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02599/2.156, allocations: 14.64 MB / 1.28 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00691/2.163, allocations: 4.915 MB / 1.285 GB, free: 204 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003463/2.166, allocations: 1.772 MB / 1.286 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of Backend: time 3.31e-07/2.166, allocations: 0 / 1.286 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.4207/2.587, allocations: 11.8 MB / 1.298 GB, free: 300.6 MB / 0.8731 GB Notification: Performance of SimCode: time 0.02897/2.616, allocations: 17.84 MB / 1.315 GB, free: 294.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.1755/2.791, allocations: 140.6 MB / 1.453 GB, free: 177 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)