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.005624/0.005624, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001337/0.001337, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 291 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 95.84 kB / 0.6815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4159, allocations: 86.97 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03973/0.4557, allocations: 37.94 MB / 0.8035 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.4741, allocations: 10.98 MB / 0.8142 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.4774, allocations: 163.2 kB / 0.8143 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.4894, allocations: 4.35 MB / 0.8186 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.4962, allocations: 2.223 MB / 0.8208 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.5017, allocations: 2.164 MB / 0.8229 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.5128, allocations: 9.292 MB / 0.8319 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.529, allocations: 11.26 MB / 0.8429 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006253/0.5353, allocations: 4 MB / 0.8468 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007692/0.543, allocations: 4.514 MB / 0.8513 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002696/0.5457, allocations: 0.8203 MB / 0.8521 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006078/0.5518, allocations: 1.588 MB / 0.8536 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005635/0.5575, allocations: 3.15 MB / 0.8567 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007206/0.5647, allocations: 3.657 MB / 0.8603 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.5792, allocations: 12.34 MB / 0.8723 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5792, allocations: 0 / 0.8723 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5792, allocations: 0 / 0.8723 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003546/0.5796, allocations: 0 / 0.8723 GB, free: 7.043 MB / 0.6387 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.01627/0.5959, allocations: 6.474 MB / 0.8786 GB, free: 500 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5959, allocations: 12.03 kB / 0.8786 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/0.6018, allocations: 1.094 MB / 0.8797 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006911/0.6087, allocations: 3.632 MB / 0.8833 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.6091, allocations: 427.7 kB / 0.8837 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.6103, allocations: 0.5394 MB / 0.8842 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.6265, allocations: 9.377 MB / 0.8933 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.6266, allocations: 23.83 kB / 0.8934 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005772/0.6272, allocations: 248 kB / 0.8936 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005505/0.6277, allocations: 426.8 kB / 0.894 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.6388, allocations: 7.123 MB / 0.901 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04136/0.6801, allocations: 41.07 MB / 0.9411 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004664/0.6848, allocations: 3.108 MB / 0.9441 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/0.6878, allocations: 2.149 MB / 0.9462 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.688, allocations: 22 kB / 0.9462 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.6881, allocations: 68.36 kB / 0.9463 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.477e-06/0.6881, allocations: 0 / 0.9463 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02424/0.7123, allocations: 10.62 MB / 0.9567 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.7124, allocations: 77.34 kB / 0.9567 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.7154, allocations: 2.002 MB / 0.9587 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.7156, allocations: 73.64 kB / 0.9588 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.7172, allocations: 2.478 MB / 0.9612 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000668/0.7179, allocations: 0.7669 MB / 0.9619 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008253/0.7187, allocations: 485.5 kB / 0.9624 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.7188, allocations: 301.1 kB / 0.9627 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.7209, allocations: 1.375 MB / 0.964 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.7236, allocations: 2.104 MB / 0.9661 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3473/1.071, allocations: 3.763 MB / 0.9698 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/1.071, allocations: 10.22 kB / 0.9698 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008191/1.079, allocations: 5.08 MB / 0.9747 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.079, allocations: 14.09 kB / 0.9747 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.079, allocations: 26.09 kB / 0.9748 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/1.083, allocations: 1.579 MB / 0.9763 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.084, allocations: 457.9 kB / 0.9768 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.102, allocations: 18.58 MB / 0.9949 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.104, allocations: 147.5 kB / 0.995 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/1.104, allocations: 106.2 kB / 0.9951 GB, free: 166.8 MB / 0.7325 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.002268/1.106, allocations: 1.953 MB / 0.997 GB, free: 166 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/1.106, allocations: 298.6 kB / 0.9973 GB, free: 166 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005684/1.112, allocations: 4.449 MB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.112, allocations: 21.56 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.112, allocations: 18.19 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.112, allocations: 11.95 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/1.123, allocations: 9.666 MB / 1.011 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.123, allocations: 6.312 kB / 1.011 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/1.124, allocations: 235.6 kB / 1.011 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/1.127, allocations: 1.43 MB / 1.013 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.127, allocations: 43.98 kB / 1.013 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/1.144, allocations: 18.57 MB / 1.031 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.403e-06/1.144, allocations: 11.98 kB / 1.031 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/1.15, allocations: 4.561 MB / 1.035 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/1.151, allocations: 0.6513 MB / 1.036 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/1.151, allocations: 39.94 kB / 1.036 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.152, allocations: 115.9 kB / 1.036 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.153, allocations: 181.6 kB / 1.036 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.153, allocations: 60 kB / 1.036 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001436/1.154, allocations: 1.319 MB / 1.038 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.154, allocations: 0 / 1.038 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002485/1.157, allocations: 1.137 MB / 1.039 GB, free: 126.4 MB / 0.7325 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.0002493/1.157, allocations: 165 kB / 1.039 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005524/1.162, allocations: 4.728 MB / 1.044 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.162, allocations: 4 kB / 1.044 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/1.166, allocations: 2.928 MB / 1.046 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.169, allocations: 0.9012 MB / 1.047 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.182, allocations: 9.42 MB / 1.057 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.185, allocations: 3.698 MB / 1.06 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001549/1.186, allocations: 0.5517 MB / 1.061 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/1.187, allocations: 151.4 kB / 1.061 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/1.187, allocations: 0 / 1.061 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06231/1.249, allocations: 51.67 MB / 1.111 GB, free: 52.84 MB / 0.7325 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)