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.001454/0.001454, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001544/0.001544, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 281.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9588/0.9588, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 104.2 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4525, allocations: 86.99 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03722/0.4898, allocations: 35.11 MB / 0.8014 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.508, allocations: 9.937 MB / 0.8111 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.5124, allocations: 147.2 kB / 0.8112 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009696/0.5221, allocations: 3.803 MB / 0.8149 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00695/0.5291, allocations: 2.032 MB / 0.8169 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.5348, allocations: 1.965 MB / 0.8188 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.5459, allocations: 7.978 MB / 0.8266 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.5612, allocations: 9.514 MB / 0.8359 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007042/0.5683, allocations: 3.424 MB / 0.8392 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007698/0.576, allocations: 3.738 MB / 0.8429 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.5789, allocations: 0.6758 MB / 0.8436 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005081/0.584, allocations: 1.447 MB / 0.845 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005163/0.5892, allocations: 2.616 MB / 0.8475 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008063/0.5973, allocations: 3.108 MB / 0.8506 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.6124, allocations: 10.38 MB / 0.8607 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.6125, allocations: 0 / 0.8607 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.328e-06/0.6125, allocations: 0 / 0.8607 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003961/0.6129, allocations: 7.938 kB / 0.8607 GB, free: 3.664 MB / 0.6231 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.01662/0.6295, allocations: 5.405 MB / 0.866 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6296, allocations: 11.97 kB / 0.866 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/0.6358, allocations: 0.9626 MB / 0.8669 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007402/0.6432, allocations: 3.182 MB / 0.87 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.6436, allocations: 357.9 kB / 0.8704 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001913/0.6455, allocations: 468.2 kB / 0.8708 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.6655, allocations: 7.906 MB / 0.8785 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.6658, allocations: 15.88 kB / 0.8786 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001569/0.6673, allocations: 212 kB / 0.8788 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005826/0.6679, allocations: 373.1 kB / 0.8791 GB, free: 308 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.6808, allocations: 5.929 MB / 0.8849 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04367/0.7245, allocations: 35.96 MB / 0.92 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.7282, allocations: 2.138 MB / 0.9221 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.7303, allocations: 1.48 MB / 0.9236 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.7304, allocations: 17.31 kB / 0.9236 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.7305, allocations: 63.8 kB / 0.9236 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.847e-06/0.7305, allocations: 4 kB / 0.9236 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01464/0.7451, allocations: 7.532 MB / 0.931 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.7452, allocations: 72.72 kB / 0.9311 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.7485, allocations: 1.86 MB / 0.9329 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.7487, allocations: 53.7 kB / 0.9329 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.7502, allocations: 2.123 MB / 0.935 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/0.7508, allocations: 0.5546 MB / 0.9355 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007018/0.7515, allocations: 399.7 kB / 0.9359 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7516, allocations: 305.1 kB / 0.9362 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.7531, allocations: 1.062 MB / 0.9373 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.7552, allocations: 1.764 MB / 0.939 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/0.7591, allocations: 3.049 MB / 0.942 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.7591, allocations: 8 kB / 0.942 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006592/0.7657, allocations: 3.921 MB / 0.9458 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.7658, allocations: 20.25 kB / 0.9458 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.7658, allocations: 20 kB / 0.9458 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.7683, allocations: 0.935 MB / 0.9467 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.77, allocations: 427.3 kB / 0.9472 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5303/1.3, allocations: 22.74 MB / 0.9694 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.303, allocations: 128.8 kB / 0.9695 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/1.303, allocations: 91.55 kB / 0.9696 GB, free: 179.4 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.003959/1.307, allocations: 1.648 MB / 0.9712 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/1.308, allocations: 256.4 kB / 0.9714 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/1.314, allocations: 3.26 MB / 0.9746 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.314, allocations: 20.23 kB / 0.9746 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/1.314, allocations: 15.12 kB / 0.9746 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/1.314, allocations: 7.781 kB / 0.9747 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.326, allocations: 7.554 MB / 0.982 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.326, allocations: 3.938 kB / 0.982 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008649/1.327, allocations: 222.7 kB / 0.9822 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/1.329, allocations: 0.896 MB / 0.9831 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/1.329, allocations: 31.84 kB / 0.9831 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/1.345, allocations: 22.72 MB / 1.005 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.345, allocations: 7.719 kB / 1.005 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/1.35, allocations: 3.38 MB / 1.009 GB, free: 154.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.351, allocations: 0.5316 MB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/1.351, allocations: 37.08 kB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.353, allocations: 93.81 kB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000395/1.353, allocations: 146.7 kB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/1.353, allocations: 44.31 kB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001443/1.354, allocations: 1.224 MB / 1.011 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/1.354, allocations: 4 kB / 1.011 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002759/1.357, allocations: 0.9096 MB / 1.012 GB, free: 153.1 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 (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.0002617/1.358, allocations: 153.7 kB / 1.012 GB, free: 152.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005147/1.363, allocations: 4.436 MB / 1.016 GB, free: 148.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.363, allocations: 0 / 1.016 GB, free: 148.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/1.366, allocations: 2.99 MB / 1.019 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.37, allocations: 0.8189 MB / 1.02 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.382, allocations: 8.222 MB / 1.028 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/1.385, allocations: 3.282 MB / 1.031 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/1.386, allocations: 155.4 kB / 1.031 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.386, allocations: 0 / 1.031 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.6283/2.014, allocations: 339.9 MB / 1.363 GB, free: 257.9 MB / 0.8731 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)