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.001628/0.001628, allocations: 104.1 kB / 16.64 MB, free: 6.828 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.001713/0.001713, allocations: 197.9 kB / 17.57 MB, free: 5.938 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.391/1.391, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7914/0.7914, allocations: 122.9 MB / 414.2 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.89 kB / 0.4913 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3757, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01303/0.3888, allocations: 11.89 MB / 0.579 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008407/0.3972, allocations: 5.644 MB / 0.5845 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.3986, allocations: 33.16 kB / 0.5845 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.4013, allocations: 0.9849 MB / 0.5855 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.4033, allocations: 0.618 MB / 0.5861 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.4057, allocations: 0.8955 MB / 0.5869 GB, free: 19.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00281/0.4085, allocations: 2.596 MB / 0.5895 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/0.4141, allocations: 4.449 MB / 0.5938 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.416, allocations: 1.197 MB / 0.595 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.4173, allocations: 1.394 MB / 0.5963 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.4176, allocations: 252 kB / 0.5966 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009467/0.4185, allocations: 0.5736 MB / 0.5971 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006248/0.4192, allocations: 0.9317 MB / 0.5981 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.4201, allocations: 1.066 MB / 0.5991 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.4223, allocations: 3.321 MB / 0.6023 GB, free: 7.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4223, allocations: 0 / 0.6023 GB, free: 7.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4223, allocations: 0 / 0.6023 GB, free: 7.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.519e-05/0.4224, allocations: 0 / 0.6023 GB, free: 7.129 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.003716/0.4261, allocations: 2.089 MB / 0.6044 GB, free: 4.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4261, allocations: 8.625 kB / 0.6044 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.4292, allocations: 0.7479 MB / 0.6051 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.4311, allocations: 1.204 MB / 0.6063 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.4312, allocations: 123.6 kB / 0.6064 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.4314, allocations: 160.1 kB / 0.6066 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.4355, allocations: 2.956 MB / 0.6095 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.4356, allocations: 0 / 0.6095 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.4358, allocations: 64 kB / 0.6095 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/0.4361, allocations: 175 kB / 0.6097 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.4401, allocations: 2.515 MB / 0.6121 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.4525, allocations: 10.83 MB / 0.6227 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.4541, allocations: 0.9582 MB / 0.6237 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.4549, allocations: 0.5193 MB / 0.6242 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.4551, allocations: 89.47 kB / 0.6242 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4551, allocations: 38.94 kB / 0.6243 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 2.655e-06/0.4551, allocations: 0 / 0.6243 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.02946/0.4846, allocations: 8.059 MB / 0.6322 GB, free: 7.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4847, allocations: 59.97 kB / 0.6322 GB, free: 7.316 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.4862, allocations: 0.922 MB / 0.6331 GB, free: 6.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.4864, allocations: 41.7 kB / 0.6331 GB, free: 6.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.4869, allocations: 0.7736 MB / 0.6339 GB, free: 5.547 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.4872, allocations: 252.5 kB / 0.6341 GB, free: 5.297 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004529/0.4877, allocations: 214.8 kB / 0.6344 GB, free: 5.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4879, allocations: 398.8 kB / 0.6347 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4893, allocations: 0.8101 MB / 0.6355 GB, free: 3.867 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.4908, allocations: 1.147 MB / 0.6366 GB, free: 2.566 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.4937, allocations: 1.997 MB / 0.6386 GB, free: 424 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.4937, allocations: 4 kB / 0.6386 GB, free: 420 kB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009742/0.5035, allocations: 3.666 MB / 0.6422 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.5036, allocations: 11.94 kB / 0.6422 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.5036, allocations: 12 kB / 0.6422 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007598/0.5112, allocations: 1.904 MB / 0.6441 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5124, allocations: 239.5 kB / 0.6443 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.5283, allocations: 10.59 MB / 0.6546 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.5299, allocations: 183.6 kB / 0.6548 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.5301, allocations: 51.98 kB / 0.6549 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002499/0.5327, allocations: 1.521 MB / 0.6563 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001579/0.5343, allocations: 1.128 MB / 0.6574 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00284/0.5371, allocations: 1.939 MB / 0.6593 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.159e-05/0.5372, allocations: 0 / 0.6593 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007942/0.5451, allocations: 3.104 MB / 0.6624 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5452, allocations: 11.94 kB / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.5452, allocations: 12 kB / 0.6624 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004636/0.5498, allocations: 1.199 MB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5511, allocations: 283.5 kB / 0.6638 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/0.5595, allocations: 5.847 MB / 0.6695 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5611, allocations: 171.7 kB / 0.6697 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.5614, allocations: 47.98 kB / 0.6697 GB, free: 15.75 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004355/0.5618, allocations: 247.8 kB / 0.67 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.5621, allocations: 87.16 kB / 0.6701 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008744/0.5708, allocations: 3.175 MB / 0.6732 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.5709, allocations: 8 kB / 0.6732 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5709, allocations: 4 kB / 0.6732 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.5709, allocations: 3.984 kB / 0.6732 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.5831, allocations: 5.282 MB / 0.6783 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5832, allocations: 3.984 kB / 0.6783 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.5836, allocations: 95.86 kB / 0.6784 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006508/0.5902, allocations: 1.73 MB / 0.6801 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5903, allocations: 12 kB / 0.6801 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.6042, allocations: 10 MB / 0.6899 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6043, allocations: 4 kB / 0.6899 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007976/0.6123, allocations: 3.03 MB / 0.6929 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006575/0.613, allocations: 315.9 kB / 0.6932 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.6132, allocations: 19.98 kB / 0.6932 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.6143, allocations: 127.8 kB / 0.6933 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.6146, allocations: 64.47 kB / 0.6934 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.6147, allocations: 24 kB / 0.6934 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001179/0.6159, allocations: 0.6746 MB / 0.6941 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.6159, allocations: 3.938 kB / 0.6941 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002658/0.6186, allocations: 0.6914 MB / 0.6947 GB, free: 5.668 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.6189, allocations: 127.1 kB / 0.6949 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006544/0.6254, allocations: 3.733 MB / 0.6985 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6255, allocations: 0 / 0.6985 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.6276, allocations: 1.258 MB / 0.6997 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.6291, allocations: 289.9 kB / 0.7 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.6363, allocations: 4.367 MB / 0.7043 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.6382, allocations: 1.734 MB / 0.706 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.6385, allocations: 63.42 kB / 0.706 GB, free: 9.961 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.6385, allocations: 3.938 kB / 0.706 GB, free: 9.957 MB / 0.545 GB Notification: Performance of Templates: time 0.3045/0.9431, allocations: 43.08 MB / 0.7481 GB, free: 156.8 MB / 0.5762 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)