Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.00137, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001298/0.001298, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002598/0.002598, allocations: 287.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.168/1.168, allocations: 178.5 MB / 0.5076 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 87.86 kB / 0.6066 GB, free: 9.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1624, allocations: 89.13 MB / 0.6936 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.2742/0.4367, allocations: 26.43 MB / 0.7194 GB, free: 39.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009798/0.4465, allocations: 8.001 MB / 0.7273 GB, free: 35.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.4479, allocations: 106.9 kB / 0.7274 GB, free: 35.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005076/0.453, allocations: 2.587 MB / 0.7299 GB, free: 33.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.4557, allocations: 1.458 MB / 0.7313 GB, free: 32.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.4586, allocations: 1.532 MB / 0.7328 GB, free: 31.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004422/0.463, allocations: 6.155 MB / 0.7388 GB, free: 29.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008933/0.4719, allocations: 8.967 MB / 0.7476 GB, free: 25.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.4752, allocations: 2.609 MB / 0.7501 GB, free: 24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.4784, allocations: 2.973 MB / 0.753 GB, free: 22.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007136/0.4791, allocations: 0.5081 MB / 0.7535 GB, free: 22.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.4813, allocations: 1.282 MB / 0.7548 GB, free: 22.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.4829, allocations: 2.046 MB / 0.7568 GB, free: 21.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.4855, allocations: 2.386 MB / 0.7591 GB, free: 20.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006804/0.4923, allocations: 6.858 MB / 0.7658 GB, free: 18.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4924, allocations: 1.953 kB / 0.7658 GB, free: 18.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4924, allocations: 0 / 0.7658 GB, free: 18.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001766/0.4926, allocations: 0 / 0.7658 GB, free: 18.28 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007936/0.5005, allocations: 4.223 MB / 0.7699 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5005, allocations: 9.625 kB / 0.7699 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004273/0.5048, allocations: 0.805 MB / 0.7707 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.5086, allocations: 2.427 MB / 0.7731 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.5088, allocations: 273.6 kB / 0.7733 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007175/0.5095, allocations: 373.5 kB / 0.7737 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009305/0.5188, allocations: 5.992 MB / 0.7796 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.064e-05/0.5189, allocations: 24.06 kB / 0.7796 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004102/0.5193, allocations: 159.4 kB / 0.7797 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005652/0.5199, allocations: 278.8 kB / 0.78 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006997/0.5269, allocations: 4.523 MB / 0.7844 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.5525, allocations: 27.66 MB / 0.8114 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.5542, allocations: 1.115 MB / 0.8125 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.5556, allocations: 1.023 MB / 0.8135 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.178e-05/0.5557, allocations: 16.98 kB / 0.8135 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.5557, allocations: 43.56 kB / 0.8136 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 2.615e-06/0.5557, allocations: 4 kB / 0.8136 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02273/0.5785, allocations: 9.66 MB / 0.823 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.5786, allocations: 64.72 kB / 0.8231 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.5806, allocations: 1.498 MB / 0.8245 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5807, allocations: 49.7 kB / 0.8246 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.5819, allocations: 1.667 MB / 0.8262 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.5824, allocations: 465.4 kB / 0.8267 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/0.5829, allocations: 327.2 kB / 0.827 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5831, allocations: 305.1 kB / 0.8273 GB, free: 288 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.5845, allocations: 0.9174 MB / 0.8282 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.5864, allocations: 1.475 MB / 0.8296 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.5898, allocations: 2.546 MB / 0.8321 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.5898, allocations: 4 kB / 0.8321 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00601/0.5959, allocations: 3.285 MB / 0.8353 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.5959, allocations: 14.97 kB / 0.8353 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.5959, allocations: 16 kB / 0.8353 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.5983, allocations: 0.7412 MB / 0.836 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.5999, allocations: 383.4 kB / 0.8364 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/0.6173, allocations: 17.07 MB / 0.8531 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.6191, allocations: 99.91 kB / 0.8532 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.6193, allocations: 79.98 kB / 0.8533 GB, free: 3.855 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00235/0.6217, allocations: 1.306 MB / 0.8545 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.6221, allocations: 205.5 kB / 0.8547 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.6275, allocations: 2.788 MB / 0.8574 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6275, allocations: 12 kB / 0.8575 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6276, allocations: 8 kB / 0.8575 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6276, allocations: 3.984 kB / 0.8575 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.6385, allocations: 6.225 MB / 0.8635 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.6386, allocations: 7.938 kB / 0.8636 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.6398, allocations: 227.6 kB / 0.8638 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.642, allocations: 0.6753 MB / 0.8644 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6421, allocations: 35.98 kB / 0.8645 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.6589, allocations: 16.79 MB / 0.8809 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.659, allocations: 4 kB / 0.8809 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/0.6658, allocations: 4.008 MB / 0.8848 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.6668, allocations: 450.6 kB / 0.8852 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.6671, allocations: 43.84 kB / 0.8853 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.6681, allocations: 83.89 kB / 0.8853 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/0.6684, allocations: 108.7 kB / 0.8854 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.957e-05/0.6685, allocations: 43.98 kB / 0.8855 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00143/0.6699, allocations: 0.9981 MB / 0.8865 GB, free: 224 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6699, allocations: 3.938 kB / 0.8865 GB, free: 220 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002354/0.6723, allocations: 0.6836 MB / 0.8871 GB, free: 15.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002623/0.6726, allocations: 151 kB / 0.8873 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006668/0.6792, allocations: 4.097 MB / 0.8913 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.6793, allocations: 4.25 kB / 0.8913 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003349/0.6826, allocations: 2.291 MB / 0.8935 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.6856, allocations: 0.6839 MB / 0.8942 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.6982, allocations: 8.595 MB / 0.9026 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/0.7012, allocations: 2.715 MB / 0.9052 GB, free: 12.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/0.7018, allocations: 131.4 kB / 0.9054 GB, free: 12.53 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/0.7018, allocations: 3.938 kB / 0.9054 GB, free: 12.53 MB / 0.67 GB Notification: Performance of Templates: time 0.4426/1.144, allocations: 209.6 MB / 1.11 GB, free: 166.7 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)