Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008852/0.0008854, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 175.9 kB / 16.91 MB, free: 6.684 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 9.625 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3169/0.4728, allocations: 31.5 MB / 0.5907 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.4917, allocations: 10.17 MB / 0.6007 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.4956, allocations: 128.2 kB / 0.6008 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.4987, allocations: 0.633 MB / 0.6014 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006634/0.5054, allocations: 1.74 MB / 0.6031 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005436/0.5108, allocations: 1.755 MB / 0.6048 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01263/0.5235, allocations: 10.58 MB / 0.6152 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01863/0.5422, allocations: 12.09 MB / 0.627 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.5475, allocations: 2.23 MB / 0.6291 GB, free: 112 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005905/0.5535, allocations: 2.97 MB / 0.632 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.5545, allocations: 264 kB / 0.6323 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004706/0.5593, allocations: 1.7 MB / 0.6339 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004239/0.5635, allocations: 2.054 MB / 0.636 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005599/0.5692, allocations: 2.342 MB / 0.6382 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.5825, allocations: 9.656 MB / 0.6477 GB, free: 13.08 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5826, allocations: 0 / 0.6477 GB, free: 13.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.5826, allocations: 0 / 0.6477 GB, free: 13.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002822/0.5829, allocations: 0 / 0.6477 GB, free: 13.08 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00911/0.592, allocations: 4.019 MB / 0.6516 GB, free: 8.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5921, allocations: 12.03 kB / 0.6516 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006126/0.5982, allocations: 0.9396 MB / 0.6525 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005565/0.6038, allocations: 2.87 MB / 0.6553 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.6041, allocations: 349.7 kB / 0.6557 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.6053, allocations: 464.2 kB / 0.6561 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.62, allocations: 7.669 MB / 0.6636 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.6202, allocations: 23.78 kB / 0.6636 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005761/0.6208, allocations: 200 kB / 0.6638 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004071/0.6212, allocations: 316.9 kB / 0.6641 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.6338, allocations: 5.706 MB / 0.6697 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/0.6734, allocations: 35.15 MB / 0.704 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.6764, allocations: 2.159 MB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.6781, allocations: 1.261 MB / 0.7073 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.726e-05/0.6782, allocations: 17.31 kB / 0.7074 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.6782, allocations: 47.81 kB / 0.7074 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.516e-06/0.6782, allocations: 0 / 0.7074 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01422/0.6925, allocations: 7.131 MB / 0.7144 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.6926, allocations: 68.7 kB / 0.7144 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.6949, allocations: 1.48 MB / 0.7159 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.6952, allocations: 45.7 kB / 0.7159 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.6965, allocations: 2.012 MB / 0.7179 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000652/0.6971, allocations: 489 kB / 0.7184 GB, free: 492 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.6974, allocations: 153.6 kB / 0.7185 GB, free: 332 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6975, allocations: 301.1 kB / 0.7188 GB, free: 28 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.6989, allocations: 0.9096 MB / 0.7197 GB, free: 15.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.7006, allocations: 1.597 MB / 0.7212 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.7039, allocations: 2.729 MB / 0.7239 GB, free: 10.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.704, allocations: 12 kB / 0.7239 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006071/0.71, allocations: 3.53 MB / 0.7274 GB, free: 6.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.7101, allocations: 16 kB / 0.7274 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.7101, allocations: 20 kB / 0.7274 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.7128, allocations: 0.9082 MB / 0.7283 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.714, allocations: 347.4 kB / 0.7286 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.7352, allocations: 21.24 MB / 0.7494 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.7372, allocations: 95.92 kB / 0.7494 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.7374, allocations: 95.97 kB / 0.7495 GB, free: 14.24 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003146/0.7405, allocations: 1.602 MB / 0.7511 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.741, allocations: 209.5 kB / 0.7513 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00555/0.7466, allocations: 2.994 MB / 0.7542 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.7466, allocations: 12 kB / 0.7542 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.7466, allocations: 8 kB / 0.7542 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.7466, allocations: 7.969 kB / 0.7542 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.7589, allocations: 7.337 MB / 0.7614 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.7589, allocations: 4 kB / 0.7614 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.7597, allocations: 179.7 kB / 0.7616 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.7622, allocations: 0.8182 MB / 0.7624 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.7623, allocations: 31.94 kB / 0.7624 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.7808, allocations: 20.33 MB / 0.7823 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.7808, allocations: 8 kB / 0.7823 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/0.7862, allocations: 3.031 MB / 0.7852 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.7873, allocations: 458.5 kB / 0.7857 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.7875, allocations: 24 kB / 0.7857 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.7883, allocations: 75.91 kB / 0.7858 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.7887, allocations: 120.7 kB / 0.7859 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.7888, allocations: 40 kB / 0.7859 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001282/0.7901, allocations: 0.9834 MB / 0.7869 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7901, allocations: 3.938 kB / 0.7869 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002944/0.793, allocations: 0.7812 MB / 0.7876 GB, free: 5.109 MB / 0.6075 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002618/0.7933, allocations: 150.5 kB / 0.7878 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005964/0.7993, allocations: 4.02 MB / 0.7917 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7993, allocations: 320 / 0.7917 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/0.8031, allocations: 2.748 MB / 0.7944 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.8074, allocations: 0.6632 MB / 0.795 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.8211, allocations: 9.167 MB / 0.804 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/0.8245, allocations: 3.117 MB / 0.807 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001436/0.826, allocations: 450 kB / 0.8075 GB, free: 392 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.8263, allocations: 111.4 kB / 0.8076 GB, free: 280 kB / 0.6231 GB Notification: Performance of SimCode: time 9.51e-07/0.8263, allocations: 0 / 0.8076 GB, free: 280 kB / 0.6231 GB Notification: Performance of Templates: time 0.3475/1.174, allocations: 34.11 MB / 0.8409 GB, free: 202.7 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)