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.00149/0.00149, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001259/0.001259, allocations: 187.9 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.367/1.367, allocations: 222.9 MB / 241.1 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.002183/0.002183, allocations: 295.3 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.9463/0.9463, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001862, allocations: 95.86 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4113, allocations: 86.97 MB / 0.7671 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04372/0.4551, allocations: 41.17 MB / 0.8073 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.4811, allocations: 15.08 MB / 0.822 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005028/0.4862, allocations: 191 kB / 0.8222 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.4975, allocations: 4.453 MB / 0.8265 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.5048, allocations: 2.794 MB / 0.8293 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007764/0.5125, allocations: 3.163 MB / 0.8324 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01336/0.5259, allocations: 11.39 MB / 0.8435 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/0.5436, allocations: 12.47 MB / 0.8557 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009356/0.553, allocations: 4.911 MB / 0.8605 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.5631, allocations: 5.382 MB / 0.8657 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002841/0.566, allocations: 0.9492 MB / 0.8666 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005301/0.5713, allocations: 2.04 MB / 0.8686 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005238/0.5765, allocations: 3.695 MB / 0.8722 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008114/0.5847, allocations: 4.299 MB / 0.8764 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01742/0.6021, allocations: 14.28 MB / 0.8904 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6022, allocations: 0 / 0.8904 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6022, allocations: 0 / 0.8904 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004045/0.6026, allocations: 0 / 0.8904 GB, free: 5.113 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.02299/0.6256, allocations: 7.608 MB / 0.8978 GB, free: 13.42 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/0.6257, allocations: 8.031 kB / 0.8978 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.6373, allocations: 1.514 MB / 0.8993 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009693/0.647, allocations: 4.451 MB / 0.9036 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.6475, allocations: 452.5 kB / 0.9041 GB, free: 6.918 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/0.6499, allocations: 0.5978 MB / 0.9047 GB, free: 6.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.6742, allocations: 10.69 MB / 0.9151 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002686/0.6745, allocations: 27.78 kB / 0.9151 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001814/0.6763, allocations: 267.9 kB / 0.9154 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.6796, allocations: 0.7729 MB / 0.9161 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/0.6981, allocations: 8.561 MB / 0.9245 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4144/1.112, allocations: 46.54 MB / 0.9699 GB, free: 171.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00703/1.12, allocations: 4.31 MB / 0.9741 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/1.125, allocations: 3.71 MB / 0.9778 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/1.125, allocations: 42.16 kB / 0.9778 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/1.125, allocations: 74.97 kB / 0.9779 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.611e-06/1.125, allocations: 0 / 0.9779 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.472/1.597, allocations: 122.8 MB / 1.098 GB, free: 65.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/1.597, allocations: 111.9 kB / 1.098 GB, free: 65.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004405/1.602, allocations: 2.689 MB / 1.101 GB, free: 63.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001267/1.603, allocations: 125.7 kB / 1.101 GB, free: 62.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/1.604, allocations: 2.671 MB / 1.103 GB, free: 60.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002128/1.606, allocations: 1.952 MB / 1.105 GB, free: 58.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002998/1.609, allocations: 0.9314 MB / 1.106 GB, free: 57.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/1.609, allocations: 301.1 kB / 1.106 GB, free: 57.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005162/1.615, allocations: 4.083 MB / 1.11 GB, free: 52.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005424/1.62, allocations: 5.019 MB / 1.115 GB, free: 47.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.631, allocations: 9.848 MB / 1.125 GB, free: 37.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.631, allocations: 8 kB / 1.125 GB, free: 37.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03577/1.667, allocations: 17 MB / 1.141 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/1.667, allocations: 19.98 kB / 1.141 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.085e-05/1.667, allocations: 20 kB / 1.141 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03059/1.698, allocations: 9.081 MB / 1.15 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/1.7, allocations: 0.5226 MB / 1.151 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1075/1.808, allocations: 76.95 MB / 1.226 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/1.813, allocations: 283.9 kB / 1.226 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.815, allocations: 188 kB / 1.226 GB, free: 11.61 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.005209/1.82, allocations: 2.428 MB / 1.229 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.821, allocations: 474.4 kB / 1.229 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04165/1.863, allocations: 16.82 MB / 1.246 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.863, allocations: 27.89 kB / 1.246 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.863, allocations: 0 / 1.246 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/1.867, allocations: 1.421 MB / 1.247 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/1.869, allocations: 107.8 kB / 1.247 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00483/1.874, allocations: 243.7 kB / 1.247 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002109/1.876, allocations: 0.7257 MB / 1.248 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04621/1.922, allocations: 17.73 MB / 1.265 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02277/1.945, allocations: 14.64 MB / 1.28 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007045/1.952, allocations: 4.919 MB / 1.285 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003338/1.956, allocations: 1.78 MB / 1.286 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of Backend: time 9.72e-07/1.956, allocations: 0 / 1.286 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.379/2.335, allocations: 11.8 MB / 1.298 GB, free: 300.7 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0256/2.36, allocations: 17.84 MB / 1.315 GB, free: 294.9 MB / 0.8731 GB Notification: Performance of Templates: time 0.1799/2.54, allocations: 140.6 MB / 1.453 GB, free: 176.8 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)