Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 84.34 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 169.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3044/0.3044, allocations: 29.41 MB / 290.5 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.969e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003631/0.003661, allocations: 2.157 MB / 371 MB, free: 9.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004683, allocations: 0.5221 MB / 371.6 MB, free: 8.594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.004727, allocations: 4 kB / 371.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.004865, allocations: 7.922 kB / 371.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.004964, allocations: 27.84 kB / 371.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.005355, allocations: 79.69 kB / 371.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.005488, allocations: 63.69 kB / 371.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.005523, allocations: 4 kB / 371.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.005687, allocations: 43.83 kB / 371.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.005742, allocations: 23.91 kB / 371.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.005754, allocations: 0 / 371.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.005979, allocations: 99.78 kB / 371.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.006039, allocations: 31.86 kB / 371.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.006093, allocations: 15.92 kB / 372 MB, free: 8.199 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.006337, allocations: 131.5 kB / 372.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006341, allocations: 0 / 372.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006342, allocations: 0 / 372.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.006347, allocations: 0 / 372.1 MB, free: 8.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005138/0.006861, allocations: 367.4 kB / 372.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.006907, allocations: 11.98 kB / 372.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.006959, allocations: 12.84 kB / 372.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.007157, allocations: 133.6 kB / 372.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.007171, allocations: 4.375 kB / 372.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.00718, allocations: 384 / 372.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.007416, allocations: 151.9 kB / 372.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.007425, allocations: 7.938 kB / 372.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.007433, allocations: 0 / 372.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.007437, allocations: 0 / 372.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.00759, allocations: 129.6 kB / 372.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.007749, allocations: 117.2 kB / 373 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.007939, allocations: 144.2 kB / 373.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.008096, allocations: 126.5 kB / 373.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.008105, allocations: 0 / 373.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.008141, allocations: 30.56 kB / 373.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 6.41e-07/0.008142, allocations: 0 / 373.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006688/0.00881, allocations: 461 kB / 373.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.008899, allocations: 101 kB / 373.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.009059, allocations: 136.6 kB / 374 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.00908, allocations: 25.7 kB / 374 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.009149, allocations: 92.64 kB / 374.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.374e-05/0.009243, allocations: 83.27 kB / 374.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.009292, allocations: 25.72 kB / 374.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.009485, allocations: 326.8 kB / 374.5 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.00963, allocations: 121.7 kB / 374.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.009769, allocations: 125.6 kB / 374.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.01009, allocations: 287.3 kB / 375 MB, free: 4.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.0101, allocations: 0 / 375 MB, free: 4.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003818/0.01048, allocations: 312.7 kB / 375.4 MB, free: 4.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/0.01056, allocations: 65.66 kB / 375.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01057, allocations: 3.938 kB / 375.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01058, allocations: 3.938 kB / 375.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-06/0.01059, allocations: 4 kB / 375.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01059, allocations: 0 / 375.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.01063, allocations: 11.89 kB / 375.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.01065, allocations: 4 kB / 375.4 MB, free: 4.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.01086, allocations: 199.5 kB / 375.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.0109, allocations: 23.91 kB / 375.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.01092, allocations: 13.2 kB / 375.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01092, allocations: 3.984 kB / 375.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01093, allocations: 4 kB / 375.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.01093, allocations: 0 / 375.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01107, allocations: 129.2 kB / 375.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01107, allocations: 0 / 375.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-06/0.01108, allocations: 4 kB / 375.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.01108, allocations: 4 kB / 375.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01109, allocations: 4 kB / 375.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.0111, allocations: 7.938 kB / 375.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0111, allocations: 0 / 375.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.0118, allocations: 0.5021 MB / 376.3 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.01182, allocations: 15.84 kB / 376.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01185, allocations: 7.984 kB / 376.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.715e-05/0.01187, allocations: 7.938 kB / 376.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.0119, allocations: 4 kB / 376.4 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01191, allocations: 4 kB / 376.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.012, allocations: 107.2 kB / 376.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 376.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.01225, allocations: 43.94 kB / 376.5 MB, free: 3.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.01246, allocations: 126.8 kB / 376.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.01312, allocations: 498.6 kB / 377.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01312, allocations: 0 / 377.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.01345, allocations: 289 kB / 377.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01368, allocations: 19.94 kB / 377.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.01451, allocations: 499.1 kB / 377.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.01466, allocations: 112.7 kB / 378 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.01469, allocations: 4 kB / 378 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.01472, allocations: 12.44 kB / 378 MB, free: 1.672 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01472, allocations: 0 / 378 MB, free: 1.672 MB / 346.7 MB Notification: Performance of Templates: time 0.005935/0.02066, allocations: 2.039 MB / 380.1 MB, free: 15.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5971125710057095]