Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001299/0.001299, allocations: 197.5 kB / 16.14 MB, free: 6.66 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 290.9 kB / 290.2 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9203/0.9203, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 93.5 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1679, allocations: 86.97 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03743/0.2053, allocations: 37.59 MB / 0.7162 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.222, allocations: 10.95 MB / 0.7269 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004531/0.2265, allocations: 143.2 kB / 0.727 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009528/0.2361, allocations: 4.069 MB / 0.731 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.2414, allocations: 2.088 MB / 0.733 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.2459, allocations: 1.975 MB / 0.7349 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01626/0.2622, allocations: 13.19 MB / 0.7478 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02683/0.2891, allocations: 12.45 MB / 0.76 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.297, allocations: 3.398 MB / 0.7633 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009615/0.3066, allocations: 4.595 MB / 0.7678 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002474/0.3091, allocations: 0.5625 MB / 0.7683 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.3149, allocations: 1.549 MB / 0.7698 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.007914/0.3228, allocations: 2.884 MB / 0.7727 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.5803/0.9032, allocations: 3.356 MB / 0.7759 GB, free: 31.77 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.9196, allocations: 12.08 MB / 0.7877 GB, free: 31.47 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.9197, allocations: 0 / 0.7877 GB, free: 31.47 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.607e-06/0.9197, allocations: 1.156 kB / 0.7877 GB, free: 31.47 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.000628/0.9203, allocations: 0 / 0.7877 GB, free: 31.47 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02138/0.9417, allocations: 6.309 MB / 0.7939 GB, free: 29.29 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9418, allocations: 9.969 kB / 0.7939 GB, free: 29.29 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.947, allocations: 1.065 MB / 0.7949 GB, free: 28.96 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.9524, allocations: 3.426 MB / 0.7983 GB, free: 28.26 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.9526, allocations: 424.5 kB / 0.7987 GB, free: 28.25 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009747/0.9536, allocations: 0.5414 MB / 0.7992 GB, free: 28.24 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.9713, allocations: 9.378 MB / 0.8084 GB, free: 27.18 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.9715, allocations: 23.47 kB / 0.8084 GB, free: 27.18 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006835/0.9721, allocations: 248.9 kB / 0.8086 GB, free: 27.18 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006267/0.9728, allocations: 423.6 kB / 0.809 GB, free: 27.16 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.9876, allocations: 7.117 MB / 0.816 GB, free: 27.11 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/1.027, allocations: 41.32 MB / 0.8563 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/1.031, allocations: 3.104 MB / 0.8594 GB, free: 4.438 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/1.033, allocations: 2.143 MB / 0.8615 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/1.033, allocations: 20.75 kB / 0.8615 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.033, allocations: 61.72 kB / 0.8615 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=209): time 3.737e-06/1.033, allocations: 0 / 0.8615 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of matching and sorting (n=212): time 0.02228/1.055, allocations: 10.56 MB / 0.8719 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.056, allocations: 81.34 kB / 0.8719 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/1.058, allocations: 2 MB / 0.8739 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/1.058, allocations: 65.7 kB / 0.874 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/1.06, allocations: 2.395 MB / 0.8763 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006274/1.061, allocations: 0.7384 MB / 0.877 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007566/1.061, allocations: 477.2 kB / 0.8775 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/1.062, allocations: 309.1 kB / 0.8778 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.063, allocations: 1.372 MB / 0.8791 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.066, allocations: 2.108 MB / 0.8812 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00455/1.07, allocations: 3.763 MB / 0.8848 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.07, allocations: 8 kB / 0.8848 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008229/1.079, allocations: 5.062 MB / 0.8898 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.079, allocations: 18.25 kB / 0.8898 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.079, allocations: 24 kB / 0.8898 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/1.082, allocations: 1.587 MB / 0.8914 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.084, allocations: 456.1 kB / 0.8918 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/1.104, allocations: 17.05 MB / 0.9085 GB, free: 6.59 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/1.106, allocations: 151.8 kB / 0.9086 GB, free: 6.441 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.107, allocations: 104 kB / 0.9087 GB, free: 6.34 MB / 0.6232 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003965/1.111, allocations: 1.946 MB / 0.9106 GB, free: 4.414 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/1.111, allocations: 288.6 kB / 0.9109 GB, free: 4.129 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00699/1.118, allocations: 4.456 MB / 0.9152 GB, free: 15.7 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/1.118, allocations: 20 kB / 0.9153 GB, free: 15.68 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.1e-05/1.118, allocations: 22.62 kB / 0.9153 GB, free: 15.66 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/1.118, allocations: 15.42 kB / 0.9153 GB, free: 15.65 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/1.134, allocations: 9.665 MB / 0.9247 GB, free: 5.973 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.134, allocations: 4 kB / 0.9247 GB, free: 5.969 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.135, allocations: 232 kB / 0.925 GB, free: 5.754 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/1.139, allocations: 1.433 MB / 0.9264 GB, free: 4.312 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/1.139, allocations: 47.98 kB / 0.9264 GB, free: 4.266 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/1.16, allocations: 17.06 MB / 0.9431 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.16, allocations: 4.344 kB / 0.9431 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/1.167, allocations: 4.543 MB / 0.9475 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.169, allocations: 0.6265 MB / 0.9481 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/1.169, allocations: 51.98 kB / 0.9482 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.17, allocations: 115.5 kB / 0.9483 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005049/1.171, allocations: 177.4 kB / 0.9484 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.171, allocations: 60 kB / 0.9485 GB, free: 13.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00179/1.173, allocations: 1.323 MB / 0.9498 GB, free: 11.78 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.173, allocations: 0 / 0.9498 GB, free: 11.78 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003235/1.176, allocations: 1.141 MB / 0.9509 GB, free: 10.64 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002946/1.176, allocations: 166 kB / 0.9511 GB, free: 10.48 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007011/1.183, allocations: 4.684 MB / 0.9556 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.183, allocations: 4.062 kB / 0.9556 GB, free: 5.824 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/1.188, allocations: 2.918 MB / 0.9585 GB, free: 2.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.192, allocations: 0.8337 MB / 0.9593 GB, free: 2.074 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.21, allocations: 11.76 MB / 0.9708 GB, free: 6.254 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004192/1.214, allocations: 3.69 MB / 0.9744 GB, free: 2.531 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.002145/1.216, allocations: 0.5556 MB / 0.9749 GB, free: 1.969 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.217, allocations: 147.4 kB / 0.9751 GB, free: 1.824 MB / 0.6857 GB Notification: Performance of SimCode: time 7.82e-07/1.217, allocations: 0 / 0.9751 GB, free: 1.824 MB / 0.6857 GB Notification: Performance of Templates: time 0.08141/1.298, allocations: 51.14 MB / 1.025 GB, free: 15.49 MB / 0.7482 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)