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.007367/0.007367, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001712/0.001712, allocations: 195.9 kB / 16.68 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 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.002117/0.002117, allocations: 297.3 kB / 290.8 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.9071/0.9071, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 87.86 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4413, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03637/0.4777, allocations: 35.11 MB / 0.8007 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.4945, allocations: 9.941 MB / 0.8104 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.4977, allocations: 147.2 kB / 0.8105 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009153/0.5068, allocations: 3.813 MB / 0.8143 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.5129, allocations: 2.149 MB / 0.8164 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.5178, allocations: 1.956 MB / 0.8183 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009455/0.5272, allocations: 7.982 MB / 0.8261 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.5389, allocations: 9.522 MB / 0.8354 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.5447, allocations: 3.427 MB / 0.8387 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005592/0.5503, allocations: 3.734 MB / 0.8424 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.5514, allocations: 0.6797 MB / 0.843 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.5541, allocations: 1.44 MB / 0.8444 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.5563, allocations: 2.62 MB / 0.847 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003346/0.5596, allocations: 3.108 MB / 0.85 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008776/0.5684, allocations: 10.38 MB / 0.8602 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5684, allocations: 0 / 0.8602 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5684, allocations: 0 / 0.8602 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001886/0.5686, allocations: 0 / 0.8602 GB, free: 3.551 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.009086/0.5777, allocations: 5.405 MB / 0.8654 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5778, allocations: 12.03 kB / 0.8655 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.5821, allocations: 0.9548 MB / 0.8664 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004678/0.5868, allocations: 3.182 MB / 0.8695 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.5871, allocations: 361.9 kB / 0.8698 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006336/0.5877, allocations: 464.2 kB / 0.8703 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.5999, allocations: 7.914 MB / 0.878 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.962e-05/0.6, allocations: 15.88 kB / 0.878 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.6005, allocations: 211.9 kB / 0.8782 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00049/0.601, allocations: 369.1 kB / 0.8786 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009857/0.6109, allocations: 5.933 MB / 0.8844 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03256/0.6434, allocations: 35.96 MB / 0.9195 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.6466, allocations: 2.138 MB / 0.9216 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.6484, allocations: 1.48 MB / 0.923 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/0.6485, allocations: 21.31 kB / 0.923 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.6485, allocations: 55.81 kB / 0.9231 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.347e-06/0.6485, allocations: 3.938 kB / 0.9231 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01234/0.6609, allocations: 7.54 MB / 0.9305 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.6609, allocations: 68.72 kB / 0.9305 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.663, allocations: 1.856 MB / 0.9323 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.6631, allocations: 57.7 kB / 0.9324 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.6643, allocations: 2.123 MB / 0.9345 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.6648, allocations: 0.5585 MB / 0.935 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/0.6653, allocations: 399.7 kB / 0.9354 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.6655, allocations: 305.1 kB / 0.9357 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.6669, allocations: 1.062 MB / 0.9367 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.6688, allocations: 1.764 MB / 0.9384 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.6723, allocations: 3.045 MB / 0.9414 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.6724, allocations: 7.938 kB / 0.9414 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005838/0.6782, allocations: 3.928 MB / 0.9453 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.6782, allocations: 18.44 kB / 0.9453 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.6783, allocations: 24 kB / 0.9453 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/0.6806, allocations: 0.9276 MB / 0.9462 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.682, allocations: 423.3 kB / 0.9466 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3625/1.045, allocations: 22.75 MB / 0.9688 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.047, allocations: 126.9 kB / 0.969 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.047, allocations: 95.44 kB / 0.969 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.002788/1.05, allocations: 1.651 MB / 0.9707 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/1.05, allocations: 255.6 kB / 0.9709 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005199/1.055, allocations: 3.269 MB / 0.9741 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.055, allocations: 21.12 kB / 0.9741 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.055, allocations: 16.22 kB / 0.9741 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/1.055, allocations: 8.703 kB / 0.9741 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.065, allocations: 7.547 MB / 0.9815 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.065, allocations: 7.875 kB / 0.9815 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/1.066, allocations: 222.1 kB / 0.9817 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.068, allocations: 0.8911 MB / 0.9826 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/1.068, allocations: 33.09 kB / 0.9826 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.083, allocations: 22.72 MB / 1.005 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.083, allocations: 7.875 kB / 1.005 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/1.087, allocations: 3.385 MB / 1.008 GB, free: 154.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008516/1.088, allocations: 0.5239 MB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/1.089, allocations: 33.97 kB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.09, allocations: 101.3 kB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/1.09, allocations: 141.1 kB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.09, allocations: 44.41 kB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001314/1.091, allocations: 1.225 MB / 1.01 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.091, allocations: 0 / 1.01 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002309/1.094, allocations: 0.9049 MB / 1.011 GB, free: 153.2 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.0002228/1.094, allocations: 152.2 kB / 1.011 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004909/1.099, allocations: 4.439 MB / 1.016 GB, free: 148.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.099, allocations: 0 / 1.016 GB, free: 148.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003151/1.102, allocations: 2.986 MB / 1.018 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.105, allocations: 0.8356 MB / 1.019 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.115, allocations: 7.576 MB / 1.027 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/1.118, allocations: 3.208 MB / 1.03 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001335/1.119, allocations: 0.5293 MB / 1.03 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.119, allocations: 143.4 kB / 1.03 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.119, allocations: 0 / 1.03 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.05307/1.172, allocations: 41.64 MB / 1.071 GB, free: 92.25 MB / 0.7325 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)