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.001086/0.001086, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001062/0.001062, allocations: 186.7 kB / 17.19 MB, free: 5.688 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8037/0.8037, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 0.4911 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.426, allocations: 77.92 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03443/0.4604, allocations: 35.1 MB / 0.6015 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4797, allocations: 9.943 MB / 0.6112 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005944/0.4858, allocations: 150.1 kB / 0.6113 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.4985, allocations: 3.798 MB / 0.6151 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009991/0.5085, allocations: 2.042 MB / 0.617 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008092/0.5166, allocations: 1.958 MB / 0.619 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01372/0.5304, allocations: 7.973 MB / 0.6267 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01792/0.5483, allocations: 9.586 MB / 0.6361 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00815/0.5565, allocations: 3.361 MB / 0.6394 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007379/0.564, allocations: 3.738 MB / 0.643 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.5668, allocations: 0.6797 MB / 0.6437 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005544/0.5723, allocations: 1.436 MB / 0.6451 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006425/0.5788, allocations: 2.62 MB / 0.6477 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009226/0.588, allocations: 3.104 MB / 0.6507 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.6029, allocations: 10.31 MB / 0.6608 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6029, allocations: 0 / 0.6608 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6029, allocations: 0 / 0.6608 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003881/0.6033, allocations: 3.938 kB / 0.6608 GB, free: 10.73 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.01814/0.6215, allocations: 5.408 MB / 0.666 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.6216, allocations: 8.031 kB / 0.6661 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006261/0.6278, allocations: 0.9626 MB / 0.667 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/0.6352, allocations: 2.991 MB / 0.6699 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.6357, allocations: 357.9 kB / 0.6703 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.6382, allocations: 468.2 kB / 0.6707 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.6597, allocations: 7.918 MB / 0.6784 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.66, allocations: 19.81 kB / 0.6785 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001614/0.6616, allocations: 212 kB / 0.6787 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006054/0.6622, allocations: 365.1 kB / 0.679 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.6758, allocations: 5.937 MB / 0.6848 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04738/0.7232, allocations: 36.21 MB / 0.7202 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.7269, allocations: 2.138 MB / 0.7223 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.7291, allocations: 1.48 MB / 0.7237 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.7293, allocations: 17.31 kB / 0.7237 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.7293, allocations: 59.81 kB / 0.7238 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.797e-06/0.7293, allocations: 0 / 0.7238 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.0147/0.744, allocations: 7.525 MB / 0.7311 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.7441, allocations: 72.66 kB / 0.7312 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.7472, allocations: 1.864 MB / 0.733 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/0.7474, allocations: 57.7 kB / 0.7331 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.7489, allocations: 2.131 MB / 0.7351 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/0.7495, allocations: 0.5507 MB / 0.7357 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006645/0.7502, allocations: 403.7 kB / 0.7361 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7503, allocations: 301.1 kB / 0.7364 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.7519, allocations: 1.062 MB / 0.7374 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.7538, allocations: 1.76 MB / 0.7391 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.7575, allocations: 3.056 MB / 0.7421 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.7575, allocations: 4 kB / 0.7421 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.2996/1.057, allocations: 3.916 MB / 0.7459 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/1.057, allocations: 15.25 kB / 0.7459 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/1.057, allocations: 24.08 kB / 0.746 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/1.06, allocations: 0.9374 MB / 0.7469 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.063, allocations: 429.3 kB / 0.7473 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/1.084, allocations: 22.77 MB / 0.7695 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.086, allocations: 127.1 kB / 0.7696 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/1.086, allocations: 93.33 kB / 0.7697 GB, free: 132.7 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.003309/1.09, allocations: 1.65 MB / 0.7713 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/1.09, allocations: 258.9 kB / 0.7716 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/1.096, allocations: 3.263 MB / 0.7748 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.096, allocations: 16.12 kB / 0.7748 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/1.097, allocations: 17.55 kB / 0.7748 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.097, allocations: 11.39 kB / 0.7748 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.109, allocations: 7.537 MB / 0.7822 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.109, allocations: 7.828 kB / 0.7822 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009304/1.11, allocations: 220.2 kB / 0.7824 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/1.113, allocations: 0.8966 MB / 0.7833 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.113, allocations: 30.31 kB / 0.7833 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/1.129, allocations: 22.74 MB / 0.8055 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.129, allocations: 7.875 kB / 0.8055 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/1.135, allocations: 3.377 MB / 0.8088 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.136, allocations: 0.5378 MB / 0.8093 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/1.136, allocations: 31.41 kB / 0.8094 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.137, allocations: 98.34 kB / 0.8095 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/1.138, allocations: 139 kB / 0.8096 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/1.138, allocations: 44.72 kB / 0.8096 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001696/1.14, allocations: 1.223 MB / 0.8108 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.14, allocations: 0 / 0.8108 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003567/1.143, allocations: 0.9046 MB / 0.8117 GB, free: 103 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.0002608/1.144, allocations: 160.5 kB / 0.8119 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006858/1.15, allocations: 5.208 MB / 0.817 GB, free: 97.47 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.15, allocations: 4 kB / 0.817 GB, free: 97.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.154, allocations: 2.987 MB / 0.8199 GB, free: 94.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/1.157, allocations: 0.8193 MB / 0.8207 GB, free: 93.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.17, allocations: 7.7 MB / 0.8282 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.173, allocations: 3.207 MB / 0.8313 GB, free: 82.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001858/1.174, allocations: 0.5215 MB / 0.8318 GB, free: 82.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.175, allocations: 143.4 kB / 0.832 GB, free: 81.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/1.175, allocations: 0 / 0.832 GB, free: 81.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.06842/1.243, allocations: 42.91 MB / 0.8739 GB, free: 39.69 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)