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.00114/0.001141, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001149/0.001149, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 292 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.965/0.965, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3957, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04217/0.4379, allocations: 37.93 MB / 0.8041 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.4563, allocations: 10.99 MB / 0.8148 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.4594, allocations: 155.2 kB / 0.815 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.4702, allocations: 4.365 MB / 0.8193 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.4761, allocations: 2.328 MB / 0.8215 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.4812, allocations: 2.165 MB / 0.8236 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.4914, allocations: 9.303 MB / 0.8327 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.5066, allocations: 11.27 MB / 0.8437 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005994/0.5126, allocations: 4.055 MB / 0.8477 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007941/0.5206, allocations: 4.51 MB / 0.8521 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002467/0.5231, allocations: 0.8203 MB / 0.8529 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.5271, allocations: 1.588 MB / 0.8544 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004252/0.5314, allocations: 3.154 MB / 0.8575 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006156/0.5376, allocations: 3.653 MB / 0.8611 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.5506, allocations: 12.31 MB / 0.8731 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5506, allocations: 0 / 0.8731 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5506, allocations: 0 / 0.8731 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003358/0.551, allocations: 0 / 0.8731 GB, free: 6.938 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.01402/0.565, allocations: 6.325 MB / 0.8793 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.565, allocations: 12.03 kB / 0.8793 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.5705, allocations: 1.059 MB / 0.8803 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006471/0.577, allocations: 3.618 MB / 0.8839 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.5773, allocations: 423.8 kB / 0.8843 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.5785, allocations: 0.5471 MB / 0.8848 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.5959, allocations: 9.381 MB / 0.894 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/0.5961, allocations: 23.86 kB / 0.894 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007283/0.5968, allocations: 244 kB / 0.8942 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005787/0.5974, allocations: 418.9 kB / 0.8946 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.6109, allocations: 7.127 MB / 0.9016 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/0.6547, allocations: 41 MB / 0.9416 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.6593, allocations: 3.1 MB / 0.9447 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.6622, allocations: 2.149 MB / 0.9468 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.6623, allocations: 26 kB / 0.9468 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.6624, allocations: 64.42 kB / 0.9468 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.038e-06/0.6624, allocations: 0 / 0.9468 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02366/0.686, allocations: 10.57 MB / 0.9572 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.6861, allocations: 77.34 kB / 0.9572 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.689, allocations: 1.998 MB / 0.9592 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.6892, allocations: 65.7 kB / 0.9593 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.6907, allocations: 2.4 MB / 0.9616 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006246/0.6914, allocations: 0.7355 MB / 0.9623 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007094/0.6921, allocations: 481.2 kB / 0.9628 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.6922, allocations: 301.1 kB / 0.9631 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.6942, allocations: 1.383 MB / 0.9644 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.6969, allocations: 2.1 MB / 0.9665 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3385/1.035, allocations: 3.765 MB / 0.9701 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/1.035, allocations: 7.938 kB / 0.9701 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008835/1.044, allocations: 5.071 MB / 0.9751 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.044, allocations: 16.88 kB / 0.9751 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.044, allocations: 20.19 kB / 0.9751 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/1.048, allocations: 1.58 MB / 0.9767 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.049, allocations: 455.2 kB / 0.9771 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/1.067, allocations: 18.57 MB / 0.9952 GB, free: 167.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.069, allocations: 146.8 kB / 0.9954 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.07, allocations: 107.5 kB / 0.9955 GB, free: 167.1 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.002422/1.072, allocations: 1.943 MB / 0.9974 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/1.072, allocations: 285.5 kB / 0.9977 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005786/1.078, allocations: 4.455 MB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.078, allocations: 18.69 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/1.078, allocations: 19 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.078, allocations: 15.95 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.09, allocations: 9.655 MB / 1.011 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.09, allocations: 4 kB / 1.011 GB, free: 155.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/1.091, allocations: 240.1 kB / 1.012 GB, free: 155.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/1.094, allocations: 1.427 MB / 1.013 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.094, allocations: 43.98 kB / 1.013 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/1.111, allocations: 18.56 MB / 1.031 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.111, allocations: 8.25 kB / 1.031 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/1.116, allocations: 4.548 MB / 1.036 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.117, allocations: 0.6381 MB / 1.036 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/1.118, allocations: 40 kB / 1.036 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.119, allocations: 119.9 kB / 1.037 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/1.119, allocations: 178.4 kB / 1.037 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.119, allocations: 63.94 kB / 1.037 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001439/1.121, allocations: 1.319 MB / 1.038 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.121, allocations: 2.719 kB / 1.038 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002656/1.124, allocations: 1.141 MB / 1.039 GB, free: 127 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.0002482/1.124, allocations: 162.4 kB / 1.039 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005637/1.129, allocations: 4.716 MB / 1.044 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.129, allocations: 4 kB / 1.044 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/1.133, allocations: 2.911 MB / 1.047 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.136, allocations: 0.8938 MB / 1.048 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.149, allocations: 10.04 MB / 1.057 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/1.152, allocations: 3.792 MB / 1.061 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/1.153, allocations: 159.4 kB / 1.061 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/1.153, allocations: 0 / 1.061 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1393/1.292, allocations: 172.1 MB / 1.229 GB, free: 12.16 MB / 0.8106 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)