Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.005322/0.005322, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001159/0.001159, allocations: 194.4 kB / 16.79 MB, free: 6.246 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.76/0.76, allocations: 122.9 MB / 413.5 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.84 kB / 0.4904 GB, free: 7.934 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4299, allocations: 77.92 MB / 0.5665 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03973/0.4697, allocations: 34.8 MB / 0.6005 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.4914, allocations: 9.903 MB / 0.6102 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006937/0.4984, allocations: 135.2 kB / 0.6103 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.5099, allocations: 3.554 MB / 0.6138 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008359/0.5183, allocations: 1.916 MB / 0.6156 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007417/0.5257, allocations: 1.772 MB / 0.6174 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01683/0.5426, allocations: 11.21 MB / 0.6283 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02098/0.5636, allocations: 10.7 MB / 0.6388 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006542/0.5702, allocations: 2.869 MB / 0.6416 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008408/0.5787, allocations: 3.797 MB / 0.6453 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002712/0.5814, allocations: 464 kB / 0.6457 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005585/0.587, allocations: 1.455 MB / 0.6471 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006166/0.5932, allocations: 2.385 MB / 0.6495 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009459/0.6027, allocations: 2.854 MB / 0.6523 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01889/0.6217, allocations: 10.2 MB / 0.6622 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6217, allocations: 0 / 0.6622 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6217, allocations: 0 / 0.6622 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004974/0.6222, allocations: 0 / 0.6622 GB, free: 8.781 MB / 0.4981 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.02009/0.6423, allocations: 5.401 MB / 0.6675 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6424, allocations: 12.02 kB / 0.6675 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006627/0.6491, allocations: 0.9665 MB / 0.6684 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008079/0.6572, allocations: 2.991 MB / 0.6714 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.6576, allocations: 361.9 kB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/0.6596, allocations: 464.3 kB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.6811, allocations: 7.914 MB / 0.6799 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/0.6814, allocations: 27.72 kB / 0.6799 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/0.6833, allocations: 208 kB / 0.6801 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006974/0.684, allocations: 369.1 kB / 0.6805 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.6991, allocations: 5.937 MB / 0.6863 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04908/0.7482, allocations: 36.2 MB / 0.7216 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.7523, allocations: 2.146 MB / 0.7237 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.7546, allocations: 1.486 MB / 0.7251 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.7548, allocations: 17.31 kB / 0.7252 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.7548, allocations: 59.81 kB / 0.7252 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 4.428e-06/0.7548, allocations: 0 / 0.7252 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01554/0.7704, allocations: 7.533 MB / 0.7326 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.7705, allocations: 68.72 kB / 0.7326 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.774, allocations: 1.864 MB / 0.7345 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.7742, allocations: 57.7 kB / 0.7345 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.776, allocations: 2.119 MB / 0.7366 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006337/0.7766, allocations: 0.5585 MB / 0.7371 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008066/0.7774, allocations: 407.7 kB / 0.7375 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7776, allocations: 305.1 kB / 0.7378 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.7794, allocations: 1.058 MB / 0.7388 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.7816, allocations: 1.764 MB / 0.7406 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.7858, allocations: 3.052 MB / 0.7435 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/0.7858, allocations: 4 kB / 0.7436 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.3425/1.128, allocations: 3.919 MB / 0.7474 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/1.128, allocations: 15.78 kB / 0.7474 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.912e-05/1.128, allocations: 22.66 kB / 0.7474 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/1.132, allocations: 0.9222 MB / 0.7483 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.133, allocations: 435.8 kB / 0.7487 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/1.153, allocations: 21.05 MB / 0.7693 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/1.155, allocations: 123.4 kB / 0.7694 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/1.155, allocations: 95.84 kB / 0.7695 GB, free: 134.4 MB / 0.5762 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.002781/1.158, allocations: 1.649 MB / 0.7711 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/1.158, allocations: 252.8 kB / 0.7713 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/1.163, allocations: 3.266 MB / 0.7745 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.163, allocations: 15.31 kB / 0.7746 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.163, allocations: 10.03 kB / 0.7746 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.163, allocations: 11.2 kB / 0.7746 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.175, allocations: 7.549 MB / 0.7819 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.175, allocations: 4.281 kB / 0.782 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/1.176, allocations: 220.7 kB / 0.7822 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/1.179, allocations: 0.8989 MB / 0.783 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.179, allocations: 39.09 kB / 0.7831 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.193, allocations: 21.01 MB / 0.8036 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.193, allocations: 3.906 kB / 0.8036 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/1.198, allocations: 3.39 MB / 0.8069 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.199, allocations: 0.5261 MB / 0.8074 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/1.199, allocations: 31 kB / 0.8075 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.2, allocations: 99.31 kB / 0.8075 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/1.2, allocations: 137 kB / 0.8077 GB, free: 107 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/1.201, allocations: 48 kB / 0.8077 GB, free: 107 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001494/1.202, allocations: 1.225 MB / 0.8089 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.52e-07/1.202, allocations: 0 / 0.8089 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002956/1.205, allocations: 0.9062 MB / 0.8098 GB, free: 104.9 MB / 0.5762 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.0002734/1.205, allocations: 163.9 kB / 0.81 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005251/1.211, allocations: 4.413 MB / 0.8143 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/1.211, allocations: 4.312 kB / 0.8143 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003213/1.214, allocations: 2.991 MB / 0.8172 GB, free: 96.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.217, allocations: 0.7702 MB / 0.8179 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.229, allocations: 9.697 MB / 0.8274 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/1.232, allocations: 3.208 MB / 0.8306 GB, free: 83.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001897/1.233, allocations: 0.5254 MB / 0.8311 GB, free: 82.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/1.234, allocations: 139.4 kB / 0.8312 GB, free: 82.59 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.234, allocations: 0 / 0.8312 GB, free: 82.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.063/1.297, allocations: 41.53 MB / 0.8718 GB, free: 41.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)