Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 106.8 kB / 16.64 MB, free: 6.816 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.001508/0.001508, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.659/1.659, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.178/1.178, allocations: 122.9 MB / 414.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.88 kB / 0.4913 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3827, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0345/0.4172, allocations: 37.59 MB / 0.6041 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.4352, allocations: 10.89 MB / 0.6147 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004594/0.4399, allocations: 143.2 kB / 0.6148 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.4513, allocations: 4.083 MB / 0.6188 GB, free: 6.195 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00728/0.4586, allocations: 2.054 MB / 0.6208 GB, free: 4.148 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006077/0.4647, allocations: 1.972 MB / 0.6227 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.4772, allocations: 9.31 MB / 0.6318 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02364/0.5009, allocations: 13.57 MB / 0.6451 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007356/0.5083, allocations: 4.054 MB / 0.6491 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007643/0.5159, allocations: 4.713 MB / 0.6537 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003005/0.519, allocations: 0.8242 MB / 0.6545 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.5242, allocations: 1.592 MB / 0.656 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005514/0.5297, allocations: 3.154 MB / 0.6591 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008404/0.5382, allocations: 3.645 MB / 0.6627 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.5503, allocations: 10.53 MB / 0.6729 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.5503, allocations: 0 / 0.6729 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5504, allocations: 0 / 0.6729 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004389/0.5508, allocations: 0 / 0.6729 GB, free: 14.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02009/0.5709, allocations: 6.318 MB / 0.6791 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.571, allocations: 12.62 kB / 0.6791 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/0.5776, allocations: 1.067 MB / 0.6802 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007414/0.585, allocations: 3.419 MB / 0.6835 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.5855, allocations: 427.7 kB / 0.6839 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.5877, allocations: 0.5432 MB / 0.6844 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.6102, allocations: 9.374 MB / 0.6936 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/0.6105, allocations: 27.75 kB / 0.6936 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/0.6124, allocations: 248 kB / 0.6939 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006627/0.613, allocations: 422.9 kB / 0.6943 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.6281, allocations: 7.123 MB / 0.7012 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04821/0.6764, allocations: 41.31 MB / 0.7416 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/0.6809, allocations: 3.108 MB / 0.7446 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2745/0.9554, allocations: 2.127 MB / 0.7467 GB, free: 153 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.9556, allocations: 26.75 kB / 0.7467 GB, free: 153 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.9557, allocations: 59.62 kB / 0.7468 GB, free: 153 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 5.32e-06/0.9557, allocations: 0.75 kB / 0.7468 GB, free: 153 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02589/0.9816, allocations: 10.56 MB / 0.7571 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.9817, allocations: 73.66 kB / 0.7571 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.9848, allocations: 2.006 MB / 0.7591 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003692/0.9852, allocations: 67.33 kB / 0.7592 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.9866, allocations: 2.401 MB / 0.7615 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007508/0.9873, allocations: 0.7316 MB / 0.7622 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007479/0.9881, allocations: 480.3 kB / 0.7627 GB, free: 146 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.9881, allocations: 302.5 kB / 0.763 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.99, allocations: 1.371 MB / 0.7643 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.9921, allocations: 2.109 MB / 0.7664 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.9963, allocations: 3.767 MB / 0.77 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.9964, allocations: 6.719 kB / 0.7701 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008174/1.005, allocations: 5.074 MB / 0.775 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/1.005, allocations: 15.81 kB / 0.775 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.005, allocations: 23.47 kB / 0.775 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/1.008, allocations: 1.59 MB / 0.7766 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.01, allocations: 455.2 kB / 0.777 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/1.028, allocations: 18.59 MB / 0.7952 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.031, allocations: 151.9 kB / 0.7953 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004847/1.031, allocations: 104 kB / 0.7954 GB, free: 123.2 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003554/1.035, allocations: 1.942 MB / 0.7973 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008946/1.036, allocations: 292.6 kB / 0.7976 GB, free: 121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/1.042, allocations: 4.451 MB / 0.802 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.042, allocations: 20 kB / 0.802 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/1.042, allocations: 16 kB / 0.802 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.042, allocations: 19.28 kB / 0.802 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/1.056, allocations: 9.66 MB / 0.8114 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.056, allocations: 4 kB / 0.8114 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/1.057, allocations: 235.6 kB / 0.8117 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/1.06, allocations: 1.436 MB / 0.8131 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/1.06, allocations: 43.19 kB / 0.8131 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/1.077, allocations: 18.57 MB / 0.8312 GB, free: 85.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.077, allocations: 15.94 kB / 0.8313 GB, free: 85.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/1.083, allocations: 4.551 MB / 0.8357 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.084, allocations: 0.6264 MB / 0.8363 GB, free: 80.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005349/1.085, allocations: 47.92 kB / 0.8364 GB, free: 80.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/1.086, allocations: 115.9 kB / 0.8365 GB, free: 80.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004785/1.087, allocations: 181.6 kB / 0.8367 GB, free: 80.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.087, allocations: 64.36 kB / 0.8367 GB, free: 80.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001438/1.088, allocations: 1.311 MB / 0.838 GB, free: 78.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.088, allocations: 0 / 0.838 GB, free: 78.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003436/1.092, allocations: 1.141 MB / 0.8391 GB, free: 77.7 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000333/1.092, allocations: 163.1 kB / 0.8393 GB, free: 77.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008517/1.1, allocations: 5.91 MB / 0.845 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.101, allocations: 0 / 0.845 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004439/1.105, allocations: 2.923 MB / 0.8479 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005467/1.11, allocations: 0.8879 MB / 0.8488 GB, free: 67.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.128, allocations: 12.55 MB / 0.861 GB, free: 55.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003801/1.132, allocations: 3.78 MB / 0.8647 GB, free: 51.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/1.133, allocations: 171.4 kB / 0.8649 GB, free: 51.17 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.133, allocations: 0 / 0.8649 GB, free: 51.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.4783/1.611, allocations: 171.8 MB / 1.033 GB, free: 196.7 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)