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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 116 kB / 17.34 MB, free: 5.043 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.001195/0.001195, allocations: 202.6 kB / 18.33 MB, free: 4.059 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.347/1.347, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7899/0.7899, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.11 kB / 0.5912 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1554, allocations: 83.26 MB / 0.6725 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01555/0.171, allocations: 12.15 MB / 0.6844 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009332/0.1803, allocations: 5.755 MB / 0.69 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008404/0.1812, allocations: 39.88 kB / 0.69 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.1841, allocations: 1.062 MB / 0.691 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.1858, allocations: 0.6841 MB / 0.6917 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1881, allocations: 0.9958 MB / 0.6927 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.1913, allocations: 2.586 MB / 0.6952 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003668/0.195, allocations: 2.799 MB / 0.6979 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.1968, allocations: 1.208 MB / 0.6991 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.199, allocations: 1.398 MB / 0.7005 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006197/0.1997, allocations: 252 kB / 0.7007 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.201, allocations: 0.5735 MB / 0.7013 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.2022, allocations: 0.9665 MB / 0.7022 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.2045, allocations: 1.066 MB / 0.7033 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.2088, allocations: 3.859 MB / 0.707 GB, free: 360 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2088, allocations: 4 kB / 0.707 GB, free: 356 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2088, allocations: 0 / 0.707 GB, free: 356 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.364e-05/0.2088, allocations: 0 / 0.707 GB, free: 356 kB / 0.5294 GB 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.003771/0.2126, allocations: 2.133 MB / 0.7091 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2126, allocations: 8.031 kB / 0.7091 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.2158, allocations: 0.7488 MB / 0.7099 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.2179, allocations: 1.232 MB / 0.7111 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/0.218, allocations: 127.6 kB / 0.7112 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.2182, allocations: 160.1 kB / 0.7113 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.2228, allocations: 2.96 MB / 0.7142 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.2228, allocations: 3.938 kB / 0.7142 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.223, allocations: 67.98 kB / 0.7143 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/0.2233, allocations: 171 kB / 0.7145 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.2272, allocations: 2.518 MB / 0.7169 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.2394, allocations: 10.76 MB / 0.7274 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2409, allocations: 0.9237 MB / 0.7283 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.2417, allocations: 489.3 kB / 0.7288 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.2418, allocations: 101.5 kB / 0.7289 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.2419, allocations: 38.88 kB / 0.7289 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=46): time 1.953e-06/0.2419, allocations: 0 / 0.7289 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.02858/0.2704, allocations: 8.078 MB / 0.7368 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.2705, allocations: 59.97 kB / 0.7369 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.2718, allocations: 0.9261 MB / 0.7378 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/0.2719, allocations: 37.7 kB / 0.7378 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.2724, allocations: 0.7957 MB / 0.7386 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.2727, allocations: 257.8 kB / 0.7388 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.273, allocations: 218.8 kB / 0.7391 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.2732, allocations: 398.7 kB / 0.7394 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.2746, allocations: 0.8062 MB / 0.7402 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.2762, allocations: 1.155 MB / 0.7414 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.2791, allocations: 1.997 MB / 0.7433 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2791, allocations: 4 kB / 0.7433 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009399/0.2885, allocations: 3.651 MB / 0.7469 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2885, allocations: 8 kB / 0.7469 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.2886, allocations: 12 kB / 0.7469 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007157/0.2957, allocations: 1.898 MB / 0.7487 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.2968, allocations: 235.5 kB / 0.749 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3109/0.6077, allocations: 10.58 MB / 0.7593 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.6092, allocations: 182.9 kB / 0.7595 GB, free: 69.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.6093, allocations: 48.94 kB / 0.7595 GB, free: 69.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002449/0.6118, allocations: 1.524 MB / 0.761 GB, free: 68.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/0.6132, allocations: 1.12 MB / 0.7621 GB, free: 68.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003232/0.6165, allocations: 1.947 MB / 0.764 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.787e-06/0.6165, allocations: 2.469 kB / 0.764 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007736/0.6242, allocations: 3.091 MB / 0.767 GB, free: 66.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6242, allocations: 12.59 kB / 0.767 GB, free: 66.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.6243, allocations: 12.62 kB / 0.7671 GB, free: 66.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004629/0.6289, allocations: 1.205 MB / 0.7682 GB, free: 66.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.63, allocations: 276.8 kB / 0.7685 GB, free: 66.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.6372, allocations: 5.863 MB / 0.7742 GB, free: 63.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6386, allocations: 171.8 kB / 0.7744 GB, free: 63.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/0.6387, allocations: 45.25 kB / 0.7744 GB, free: 63.11 MB / 0.5762 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.0003089/0.639, allocations: 242.1 kB / 0.7747 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.6391, allocations: 90.28 kB / 0.7747 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/0.6469, allocations: 3.15 MB / 0.7778 GB, free: 62.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6469, allocations: 7.219 kB / 0.7778 GB, free: 62.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6469, allocations: 2.812 kB / 0.7778 GB, free: 62.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.6469, allocations: 9.375 kB / 0.7778 GB, free: 62.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009887/0.6568, allocations: 5.256 MB / 0.783 GB, free: 59.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.6568, allocations: 1.375 kB / 0.783 GB, free: 59.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.6573, allocations: 97.97 kB / 0.7831 GB, free: 59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005888/0.6631, allocations: 1.724 MB / 0.7847 GB, free: 58.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.6633, allocations: 11.94 kB / 0.7848 GB, free: 58.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.674, allocations: 9.999 MB / 0.7945 GB, free: 51.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.674, allocations: 11.88 kB / 0.7945 GB, free: 51.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006827/0.6809, allocations: 3.012 MB / 0.7975 GB, free: 48.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.6814, allocations: 316.5 kB / 0.7978 GB, free: 48.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.6816, allocations: 21.95 kB / 0.7978 GB, free: 48.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.6824, allocations: 131.8 kB / 0.7979 GB, free: 48.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.6826, allocations: 68.41 kB / 0.798 GB, free: 48.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.6827, allocations: 20 kB / 0.798 GB, free: 48.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007954/0.6835, allocations: 0.6785 MB / 0.7987 GB, free: 47.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6835, allocations: 0 / 0.7987 GB, free: 47.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00217/0.6857, allocations: 0.6914 MB / 0.7993 GB, free: 46.66 MB / 0.5762 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.0002114/0.6859, allocations: 122 kB / 0.7995 GB, free: 46.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004724/0.6906, allocations: 3.389 MB / 0.8028 GB, free: 43.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6906, allocations: 0 / 0.8028 GB, free: 43.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.6922, allocations: 1.216 MB / 0.804 GB, free: 41.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6933, allocations: 287.5 kB / 0.8042 GB, free: 41.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.6978, allocations: 3.533 MB / 0.8077 GB, free: 38.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.6988, allocations: 1.719 MB / 0.8094 GB, free: 36.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001123/0.7, allocations: 0.5422 MB / 0.8099 GB, free: 35.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.7001, allocations: 63.42 kB / 0.81 GB, free: 35.71 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.7001, allocations: 0 / 0.81 GB, free: 35.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.03395/0.7341, allocations: 32.68 MB / 0.8419 GB, free: 3.199 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile [Timeout 660] (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) [Timeout 480]