Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.000823/0.000823, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0009642/0.0009642, allocations: 166.3 kB / 24 MB, free: 0.5586 MB / 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 0.8497/0.8497, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02499/0.02499, allocations: 4.466 MB / 265.2 MB, free: 8.773 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 390.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.587e-05, allocations: 2.281 kB / 390.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001849/0.001875, allocations: 1.577 MB / 392.4 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.003625, allocations: 1.571 MB / 394 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.003692, allocations: 4 kB / 394 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.003946, allocations: 135.1 kB / 394.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.004178, allocations: 154.9 kB / 394.3 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009034/0.005081, allocations: 0.9606 MB / 395.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.005332, allocations: 286.5 kB / 395.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005447, allocations: 52.69 kB / 395.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.005557, allocations: 163.6 kB / 395.7 MB, free: 2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.005652, allocations: 107.7 kB / 395.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.005676, allocations: 20 kB / 395.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.005937, allocations: 243.5 kB / 396.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.005969, allocations: 51.77 kB / 396.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.006032, allocations: 91.77 kB / 396.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.006428, allocations: 482.5 kB / 396.7 MB, free: 1.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.00643, allocations: 0 / 396.7 MB, free: 1.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.006433, allocations: 4 kB / 396.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.006436, allocations: 0 / 396.7 MB, free: 1.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.002134/0.00857, allocations: 1.039 MB / 397.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.008603, allocations: 8.031 kB / 397.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.00866, allocations: 32.75 kB / 397.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.008858, allocations: 209.3 kB / 398 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.008874, allocations: 20.75 kB / 398 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.008905, allocations: 24.38 kB / 398 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.009312, allocations: 484.2 kB / 398.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.00932, allocations: 4.188 kB / 398.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.009342, allocations: 8.375 kB / 398.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.009348, allocations: 4.375 kB / 398.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.009641, allocations: 315.1 kB / 398.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.01056, allocations: 0.7769 MB / 399.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.01104, allocations: 358.6 kB / 400 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.01119, allocations: 152.8 kB / 400.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.01168, allocations: 0.5002 MB / 400.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.0117, allocations: 46.72 kB / 400.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.0117, allocations: 0 / 400.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0018/0.0135, allocations: 0.9875 MB / 401.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.01355, allocations: 106.8 kB / 401.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.0137, allocations: 229.7 kB / 402 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.01372, allocations: 33.64 kB / 402 MB, free: 11.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.01379, allocations: 152.8 kB / 402.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.01384, allocations: 103.1 kB / 402.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.01393, allocations: 86.12 kB / 402.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.01401, allocations: 334.8 kB / 402.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.01421, allocations: 192.9 kB / 402.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.01446, allocations: 323.2 kB / 403.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.0149, allocations: 472.9 kB / 403.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0149, allocations: 4.031 kB / 403.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001256/0.01616, allocations: 0.8067 MB / 404.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01617, allocations: 4 kB / 404.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01618, allocations: 4 kB / 404.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009702/0.01715, allocations: 425.1 kB / 404.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.0173, allocations: 63.91 kB / 404.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.02002, allocations: 3.732 MB / 408.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.02018, allocations: 47.75 kB / 408.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.0202, allocations: 8 kB / 408.7 MB, free: 4.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.02031, allocations: 153.8 kB / 408.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.02035, allocations: 31.75 kB / 408.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.02143, allocations: 0.7331 MB / 409.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02143, allocations: 4 kB / 409.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.02144, allocations: 4 kB / 409.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.02144, allocations: 3.938 kB / 409.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.02165, allocations: 281 kB / 409.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02166, allocations: 0 / 409.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.02175, allocations: 39.92 kB / 410 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009044/0.02265, allocations: 413.2 kB / 410.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.02267, allocations: 4 kB / 410.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1461/0.1688, allocations: 3.705 MB / 414.1 MB, free: 32.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1688, allocations: 1.344 kB / 414.1 MB, free: 32.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.17, allocations: 0.77 MB / 414.8 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1701, allocations: 31.17 kB / 414.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1701, allocations: 8.906 kB / 414.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1702, allocations: 15.62 kB / 414.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.1703, allocations: 25.88 kB / 414.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1703, allocations: 10.34 kB / 414.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1704, allocations: 165.3 kB / 415.1 MB, free: 32.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1704, allocations: 0 / 415.1 MB, free: 32.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.1708, allocations: 119.4 kB / 415.2 MB, free: 32.27 MB / 330.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 (25): * Single equations (assignments): 23 * 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): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.171, allocations: 120.1 kB / 415.3 MB, free: 32.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009641/0.172, allocations: 0.7248 MB / 416.1 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.172, allocations: 1.625 kB / 416.1 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.1725, allocations: 0.4924 MB / 416.6 MB, free: 31.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.1727, allocations: 27.42 kB / 416.6 MB, free: 31.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.1734, allocations: 0.563 MB / 417.1 MB, free: 31.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.411e-05/0.1735, allocations: 147.2 kB / 417.3 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.1736, allocations: 32.36 kB / 417.3 MB, free: 31.19 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1736, allocations: 0 / 417.3 MB, free: 31.19 MB / 330.7 MB Notification: Performance of Templates: time 0.007172/0.1808, allocations: 6.558 MB / 423.9 MB, free: 30.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.719051970168948] Failed to read output from testmodel.py, exit status != 0: 0.1882501244544983 0.19533530499999996 0.18756966499999994 Calling exit ...