Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004934/0.004934, allocations: 96.53 kB / 15.73 MB, free: 6.039 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.001145/0.001145, allocations: 196.4 kB / 16.67 MB, free: 5.969 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 275.2 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9705/0.9705, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 96.22 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1486, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3482/0.4968, allocations: 35.11 MB / 0.8007 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.5134, allocations: 9.944 MB / 0.8104 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003819/0.5173, allocations: 148.2 kB / 0.8105 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.5275, allocations: 3.806 MB / 0.8143 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.5337, allocations: 2.031 MB / 0.8162 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.5392, allocations: 1.964 MB / 0.8182 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.5505, allocations: 7.977 MB / 0.826 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01351/0.564, allocations: 9.525 MB / 0.8353 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.5703, allocations: 3.375 MB / 0.8385 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006846/0.5771, allocations: 3.739 MB / 0.8422 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002914/0.5801, allocations: 0.6842 MB / 0.8429 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005256/0.5853, allocations: 1.439 MB / 0.8443 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00449/0.5898, allocations: 2.62 MB / 0.8468 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009202/0.599, allocations: 3.101 MB / 0.8499 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.6133, allocations: 10.41 MB / 0.86 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.6133, allocations: 0 / 0.86 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6134, allocations: 0 / 0.86 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002497/0.6136, allocations: 0 / 0.86 GB, free: 3.902 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01119/0.6248, allocations: 5.546 MB / 0.8654 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6249, allocations: 12.03 kB / 0.8655 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.6291, allocations: 0.985 MB / 0.8664 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/0.6348, allocations: 3.196 MB / 0.8695 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.6351, allocations: 353.9 kB / 0.8699 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007299/0.6358, allocations: 468.3 kB / 0.8703 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.6479, allocations: 7.91 MB / 0.878 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.494e-05/0.648, allocations: 19.83 kB / 0.8781 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004607/0.6485, allocations: 208 kB / 0.8783 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004976/0.649, allocations: 365.1 kB / 0.8786 GB, free: 372 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00872/0.6577, allocations: 5.945 MB / 0.8844 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.6908, allocations: 36 MB / 0.9196 GB, free: 3.168 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.6939, allocations: 2.143 MB / 0.9217 GB, free: 1.012 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.6956, allocations: 1.473 MB / 0.9231 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/0.6958, allocations: 21.31 kB / 0.9231 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.6958, allocations: 55.81 kB / 0.9232 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 3.867e-06/0.6958, allocations: 0 / 0.9232 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01325/0.7091, allocations: 7.602 MB / 0.9306 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.7092, allocations: 68.72 kB / 0.9307 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.7115, allocations: 1.868 MB / 0.9325 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.7116, allocations: 49.7 kB / 0.9325 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.713, allocations: 2.196 MB / 0.9347 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.7135, allocations: 0.581 MB / 0.9353 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/0.7141, allocations: 407.9 kB / 0.9356 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.7142, allocations: 305.1 kB / 0.9359 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.7157, allocations: 1.058 MB / 0.937 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.7175, allocations: 1.76 MB / 0.9387 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.721, allocations: 3.052 MB / 0.9417 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.721, allocations: 8 kB / 0.9417 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005984/0.727, allocations: 3.929 MB / 0.9455 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.7271, allocations: 12 kB / 0.9455 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.7271, allocations: 24 kB / 0.9455 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.7295, allocations: 0.928 MB / 0.9465 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.7309, allocations: 427.2 kB / 0.9469 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.7503, allocations: 22.78 MB / 0.9691 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.7524, allocations: 119.9 kB / 0.9692 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.7526, allocations: 104 kB / 0.9693 GB, free: 13.46 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002479/0.755, allocations: 1.652 MB / 0.9709 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.7554, allocations: 274.3 kB / 0.9712 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/0.7606, allocations: 3.26 MB / 0.9744 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7606, allocations: 16 kB / 0.9744 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.7606, allocations: 8 kB / 0.9744 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.7607, allocations: 11.97 kB / 0.9744 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.7709, allocations: 7.561 MB / 0.9818 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.771, allocations: 4 kB / 0.9818 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/0.7718, allocations: 219.6 kB / 0.982 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.7741, allocations: 0.8924 MB / 0.9829 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/0.7742, allocations: 28 kB / 0.9829 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.7931, allocations: 22.74 MB / 1.005 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7932, allocations: 7.938 kB / 1.005 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.7984, allocations: 3.392 MB / 1.008 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/0.7993, allocations: 0.5383 MB / 1.009 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.7996, allocations: 35.94 kB / 1.009 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8007, allocations: 95.81 kB / 1.009 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.801, allocations: 145 kB / 1.009 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.941e-05/0.8011, allocations: 43.94 kB / 1.009 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001608/0.8027, allocations: 1.229 MB / 1.01 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8027, allocations: 0 / 1.01 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002725/0.8055, allocations: 0.9023 MB / 1.011 GB, free: 348 kB / 0.7637 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002609/0.8057, allocations: 168.9 kB / 1.012 GB, free: 172 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006009/0.8118, allocations: 4.428 MB / 1.016 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8118, allocations: 5 kB / 1.016 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/0.8155, allocations: 2.999 MB / 1.019 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.8185, allocations: 0.8375 MB / 1.02 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8305, allocations: 7.709 MB / 1.027 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003052/0.8336, allocations: 3.209 MB / 1.03 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001584/0.8352, allocations: 0.5254 MB / 1.031 GB, free: 12.04 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.8355, allocations: 139.4 kB / 1.031 GB, free: 11.9 MB / 0.795 GB Notification: Performance of SimCode: time 8.92e-07/0.8356, allocations: 0 / 1.031 GB, free: 11.9 MB / 0.795 GB Notification: Performance of Templates: time 0.06287/0.8984, allocations: 41.65 MB / 1.072 GB, free: 2.879 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)