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.001431/0.001431, allocations: 111.5 kB / 16.4 MB, free: 6.387 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: 194.6 kB / 17.33 MB, free: 5.844 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.478/1.478, allocations: 222.9 MB / 241 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.002574/0.002574, allocations: 295.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4871, allocations: 86.98 MB / 0.7671 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04726/0.5344, allocations: 38.02 MB / 0.8042 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.5559, allocations: 11 MB / 0.8149 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.5598, allocations: 159.2 kB / 0.8151 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.5716, allocations: 4.4 MB / 0.8194 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.5789, allocations: 2.328 MB / 0.8217 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.5853, allocations: 2.167 MB / 0.8238 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.5981, allocations: 9.284 MB / 0.8328 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.614, allocations: 8.526 MB / 0.8412 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007405/0.6214, allocations: 4.051 MB / 0.8451 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008738/0.6301, allocations: 4.517 MB / 0.8495 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.6329, allocations: 0.8203 MB / 0.8503 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.6376, allocations: 1.58 MB / 0.8519 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004723/0.6423, allocations: 3.235 MB / 0.855 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006589/0.6489, allocations: 3.661 MB / 0.8586 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.665, allocations: 12.34 MB / 0.8707 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.665, allocations: 7.938 kB / 0.8707 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.204e-06/0.665, allocations: 0 / 0.8707 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003523/0.6654, allocations: 0 / 0.8707 GB, free: 9.453 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.01675/0.6821, allocations: 6.467 MB / 0.877 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6822, allocations: 12.03 kB / 0.877 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005721/0.6879, allocations: 1.094 MB / 0.8781 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007323/0.6952, allocations: 3.636 MB / 0.8816 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.6956, allocations: 427.7 kB / 0.882 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/0.697, allocations: 0.5355 MB / 0.8826 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.7166, allocations: 9.381 MB / 0.8917 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.7168, allocations: 19.83 kB / 0.8917 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007059/0.7175, allocations: 248 kB / 0.892 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006518/0.7181, allocations: 422.9 kB / 0.8924 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.7319, allocations: 7.131 MB / 0.8993 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04992/0.7818, allocations: 41.07 MB / 0.9394 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/0.7866, allocations: 2.901 MB / 0.9423 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002991/0.7896, allocations: 1.946 MB / 0.9442 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.7897, allocations: 29.98 kB / 0.9442 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/0.7898, allocations: 60.42 kB / 0.9443 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.907e-06/0.7898, allocations: 0 / 0.9443 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02563/0.8154, allocations: 10.58 MB / 0.9546 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.8155, allocations: 73.41 kB / 0.9547 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.8186, allocations: 2.006 MB / 0.9566 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.8188, allocations: 65.7 kB / 0.9567 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.8208, allocations: 2.47 MB / 0.9591 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.8216, allocations: 0.7708 MB / 0.9599 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007984/0.8224, allocations: 477.5 kB / 0.9603 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8225, allocations: 305.1 kB / 0.9606 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.8247, allocations: 1.372 MB / 0.9619 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.8274, allocations: 2.108 MB / 0.964 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/0.8327, allocations: 3.766 MB / 0.9677 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.8327, allocations: 12 kB / 0.9677 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.3887/1.221, allocations: 5.024 MB / 0.9726 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/1.221, allocations: 17.84 kB / 0.9726 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/1.222, allocations: 22.7 kB / 0.9726 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.225, allocations: 1.586 MB / 0.9742 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.227, allocations: 452.6 kB / 0.9746 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.248, allocations: 18.59 MB / 0.9928 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.251, allocations: 142.6 kB / 0.9929 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/1.251, allocations: 112.2 kB / 0.993 GB, free: 169.7 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.002994/1.254, allocations: 1.949 MB / 0.9949 GB, free: 168.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/1.255, allocations: 306 kB / 0.9952 GB, free: 168.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006381/1.261, allocations: 4.391 MB / 0.9995 GB, free: 167 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/1.261, allocations: 20.22 kB / 0.9995 GB, free: 167 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.261, allocations: 20.28 kB / 0.9995 GB, free: 167 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.261, allocations: 18.86 kB / 0.9995 GB, free: 167 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/1.276, allocations: 9.612 MB / 1.009 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.276, allocations: 4 kB / 1.009 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009895/1.277, allocations: 231.6 kB / 1.009 GB, free: 158.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/1.28, allocations: 1.439 MB / 1.011 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/1.281, allocations: 40 kB / 1.011 GB, free: 156.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/1.299, allocations: 18.58 MB / 1.029 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.299, allocations: 4 kB / 1.029 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/1.306, allocations: 4.503 MB / 1.033 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.308, allocations: 0.6435 MB / 1.034 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006629/1.308, allocations: 47.98 kB / 1.034 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.31, allocations: 111.9 kB / 1.034 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/1.31, allocations: 181.6 kB / 1.034 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.311, allocations: 63.98 kB / 1.034 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001982/1.313, allocations: 1.315 MB / 1.035 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/1.313, allocations: 0 / 1.035 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003286/1.316, allocations: 1.145 MB / 1.037 GB, free: 129.7 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.0003269/1.316, allocations: 165.1 kB / 1.037 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006083/1.322, allocations: 4.547 MB / 1.041 GB, free: 125 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.322, allocations: 0 / 1.041 GB, free: 125 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/1.326, allocations: 2.8 MB / 1.044 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/1.33, allocations: 0.8984 MB / 1.045 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.347, allocations: 9.434 MB / 1.054 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004292/1.351, allocations: 3.694 MB / 1.058 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001887/1.353, allocations: 0.5556 MB / 1.058 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/1.354, allocations: 155.4 kB / 1.058 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.354, allocations: 0 / 1.058 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.07286/1.427, allocations: 52.06 MB / 1.109 GB, free: 56.08 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)