Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 96.34 kB / 15.68 MB, free: 488 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.001483/0.001484, allocations: 170.4 kB / 16.56 MB, free: 6.801 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.398/1.398, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 9.5 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 77.15 MB / 0.5569 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01136/0.1795, allocations: 10.42 MB / 0.567 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007784/0.1873, allocations: 5.15 MB / 0.5721 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1884, allocations: 27.88 kB / 0.5721 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.1894, allocations: 330.2 kB / 0.5724 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.1909, allocations: 0.5452 MB / 0.5729 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.1925, allocations: 0.5983 MB / 0.5735 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1941, allocations: 1.209 MB / 0.5747 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004988/0.1991, allocations: 3.862 MB / 0.5785 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.2001, allocations: 0.6464 MB / 0.5791 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.201, allocations: 0.732 MB / 0.5798 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.2012, allocations: 107.9 kB / 0.5799 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.202, allocations: 315.7 kB / 0.5802 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006089/0.2026, allocations: 0.6899 MB / 0.5809 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.203, allocations: 368.9 kB / 0.5812 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3435/0.5465, allocations: 3.252 MB / 0.5844 GB, free: 15.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5466, allocations: 0 / 0.5844 GB, free: 15.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5466, allocations: 0 / 0.5844 GB, free: 15.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.5468, allocations: 0.9375 kB / 0.5844 GB, free: 15.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005975/0.5528, allocations: 1.779 MB / 0.5862 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5528, allocations: 9.344 kB / 0.5862 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.5572, allocations: 0.7621 MB / 0.5869 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.5612, allocations: 1.233 MB / 0.5881 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.5614, allocations: 124.8 kB / 0.5882 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006353/0.5621, allocations: 161.1 kB / 0.5884 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007447/0.5695, allocations: 2.932 MB / 0.5912 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.5696, allocations: 1.938 kB / 0.5913 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.5699, allocations: 74.83 kB / 0.5913 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006011/0.5705, allocations: 205.8 kB / 0.5915 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006205/0.5767, allocations: 2.501 MB / 0.594 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.5919, allocations: 10.9 MB / 0.6046 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5933, allocations: 0.9247 MB / 0.6055 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.5934, allocations: 93.14 kB / 0.6056 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5934, allocations: 37.16 kB / 0.6056 GB, free: 8.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.5934, allocations: 0 / 0.6056 GB, free: 8.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.0284/0.6218, allocations: 8.971 MB / 0.6144 GB, free: 5.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.6219, allocations: 89.23 kB / 0.6145 GB, free: 5.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.6237, allocations: 0.9421 MB / 0.6154 GB, free: 4.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.6239, allocations: 41.67 kB / 0.6154 GB, free: 4.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000566/0.6245, allocations: 0.7695 MB / 0.6162 GB, free: 4.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.6247, allocations: 246.6 kB / 0.6164 GB, free: 3.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.6248, allocations: 20.34 kB / 0.6164 GB, free: 3.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.625, allocations: 401.4 kB / 0.6168 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.6261, allocations: 0.8043 MB / 0.6176 GB, free: 3.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.6273, allocations: 1.15 MB / 0.6187 GB, free: 2.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.6285, allocations: 0.9922 MB / 0.6197 GB, free: 1.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.6286, allocations: 3.188 kB / 0.6197 GB, free: 1.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009082/0.6376, allocations: 3.786 MB / 0.6234 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001939/0.6396, allocations: 4.27 MB / 0.6276 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.6397, allocations: 8.031 kB / 0.6276 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008169/0.6478, allocations: 2.168 MB / 0.6297 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.6488, allocations: 226.7 kB / 0.6299 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.665, allocations: 10.67 MB / 0.6403 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.6667, allocations: 203.7 kB / 0.6405 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.667, allocations: 48 kB / 0.6406 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.667, allocations: 6.344 kB / 0.6406 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00775/0.6747, allocations: 3.076 MB / 0.6436 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/0.6748, allocations: 8 kB / 0.6436 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.6802, allocations: 1.364 MB / 0.6449 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.6813, allocations: 290.9 kB / 0.6452 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.6922, allocations: 6.389 MB / 0.6514 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.6939, allocations: 171.8 kB / 0.6516 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.6942, allocations: 44 kB / 0.6516 GB, free: 3.805 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.696, allocations: 0.8961 MB / 0.6525 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.6963, allocations: 86.97 kB / 0.6526 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009129/0.7055, allocations: 3.337 MB / 0.6559 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.7055, allocations: 4 kB / 0.6559 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.7056, allocations: 4 kB / 0.6559 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.7056, allocations: 3.984 kB / 0.6559 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.7193, allocations: 5.492 MB / 0.6612 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/0.7194, allocations: 8 kB / 0.6612 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.7199, allocations: 108 kB / 0.6613 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007539/0.7275, allocations: 1.98 MB / 0.6633 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.7276, allocations: 16 kB / 0.6633 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/0.7428, allocations: 10.07 MB / 0.6731 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.7428, allocations: 4 kB / 0.6731 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008756/0.7516, allocations: 3.288 MB / 0.6763 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.7527, allocations: 339.9 kB / 0.6767 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.753, allocations: 15.06 kB / 0.6767 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7541, allocations: 155.7 kB / 0.6768 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.7545, allocations: 68.12 kB / 0.6769 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/0.7545, allocations: 20 kB / 0.6769 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001069/0.7556, allocations: 0.6707 MB / 0.6776 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7556, allocations: 3.469 kB / 0.6776 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002893/0.7585, allocations: 0.7031 MB / 0.6783 GB, free: 8.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003308/0.7589, allocations: 132.8 kB / 0.6784 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007959/0.7668, allocations: 3.894 MB / 0.6822 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.7669, allocations: 8 kB / 0.6822 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.7692, allocations: 1.31 MB / 0.6835 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.7706, allocations: 263.9 kB / 0.6837 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.7776, allocations: 4.072 MB / 0.6877 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.7797, allocations: 1.75 MB / 0.6894 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001655/0.7814, allocations: 0.5149 MB / 0.6899 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7817, allocations: 63.42 kB / 0.69 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.7817, allocations: 0 / 0.69 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.04712/0.8288, allocations: 29.59 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)