Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001892/0.001892, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002311/0.002311, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.481/1.481, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1766/0.1766, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.1 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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3e-05, allocations: 6.219 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007947/0.007977, allocations: 5.196 MB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.01506, allocations: 3.817 MB / 439.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.01556, allocations: 27.75 kB / 439.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.02747, allocations: 5.403 MB / 445.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.02852, allocations: 361.8 kB / 445.5 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.02925, allocations: 267.3 kB / 445.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002475/0.03173, allocations: 1.668 MB / 447.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006254/0.03236, allocations: 324.4 kB / 447.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007453/0.0331, allocations: 498.7 kB / 448.2 MB, free: 332 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2507/0.2838, allocations: 426.4 kB / 448.7 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.284, allocations: 48.72 kB / 448.7 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.2846, allocations: 116.4 kB / 448.8 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.285, allocations: 294.3 kB / 449.1 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.2855, allocations: 223.1 kB / 449.3 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.2868, allocations: 0.7462 MB / 450.1 MB, free: 20.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2868, allocations: 4.844 kB / 450.1 MB, free: 20.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2868, allocations: 3.062 kB / 450.1 MB, free: 20.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2868, allocations: 0 / 450.1 MB, free: 20.65 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002329/0.2891, allocations: 0.8421 MB / 450.9 MB, free: 20.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2892, allocations: 14.8 kB / 450.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.2899, allocations: 101.7 kB / 451 MB, free: 20.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.2914, allocations: 494.8 kB / 451.5 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/0.2914, allocations: 35.56 kB / 451.6 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2916, allocations: 55.02 kB / 451.6 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.2931, allocations: 0.6528 MB / 452.3 MB, free: 19.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.2932, allocations: 4.047 kB / 452.3 MB, free: 19.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.2933, allocations: 23.25 kB / 452.3 MB, free: 19.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.2935, allocations: 48.28 kB / 452.3 MB, free: 19.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.2949, allocations: 491.3 kB / 452.8 MB, free: 19.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.3001, allocations: 2.256 MB / 455.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.3009, allocations: 297.3 kB / 455.4 MB, free: 18.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.3013, allocations: 168.1 kB / 455.5 MB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.3014, allocations: 4.875 kB / 455.5 MB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3014, allocations: 38.17 kB / 455.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 4.028e-06/0.3014, allocations: 3.719 kB / 455.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.003762/0.3052, allocations: 1.272 MB / 456.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3052, allocations: 111.9 kB / 457 MB, free: 17.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.3059, allocations: 404.6 kB / 457.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.3059, allocations: 30.39 kB / 457.4 MB, free: 17.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.3061, allocations: 314.7 kB / 457.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3063, allocations: 134.2 kB / 457.8 MB, free: 17.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.3065, allocations: 91.02 kB / 457.9 MB, free: 17.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3066, allocations: 356 kB / 458.3 MB, free: 17.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.307, allocations: 167.7 kB / 458.4 MB, free: 17.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.3076, allocations: 300.6 kB / 458.7 MB, free: 17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.3086, allocations: 499.9 kB / 459.2 MB, free: 16.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3086, allocations: 1.406 kB / 459.2 MB, free: 16.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002208/0.3108, allocations: 0.7126 MB / 459.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.3108, allocations: 6.531 kB / 459.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3108, allocations: 5.719 kB / 459.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.3119, allocations: 206.5 kB / 460.1 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.3125, allocations: 83.23 kB / 460.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006437/0.3189, allocations: 3.95 MB / 464.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.3195, allocations: 15.38 kB / 464.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.3196, allocations: 20.94 kB / 464.2 MB, free: 13.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.3201, allocations: 230.9 kB / 464.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3202, allocations: 48.31 kB / 464.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3216, allocations: 498.9 kB / 465 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3216, allocations: 4.656 kB / 465 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3216, allocations: 1.797 kB / 465 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3216, allocations: 3.141 kB / 465 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.3241, allocations: 0.9023 MB / 465.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3241, allocations: 1.312 kB / 465.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/0.3248, allocations: 71.25 kB / 465.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.3251, allocations: 52.41 kB / 466 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.3251, allocations: 18.84 kB / 466 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.3272, allocations: 2.585 MB / 468.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3272, allocations: 4.25 kB / 468.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.329, allocations: 0.7973 MB / 469.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.3292, allocations: 69.78 kB / 469.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.3293, allocations: 13.59 kB / 469.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.3298, allocations: 11.09 kB / 469.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3299, allocations: 31.73 kB / 469.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.3299, allocations: 13.56 kB / 469.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004756/0.3304, allocations: 273.7 kB / 469.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3304, allocations: 0 / 469.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001211/0.3316, allocations: 133.4 kB / 469.9 MB, free: 9.426 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.3318, allocations: 109.1 kB / 470 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.3338, allocations: 0.7199 MB / 470.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.3338, allocations: 0 / 470.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.3346, allocations: 415.2 kB / 471.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.3359, allocations: 104.2 kB / 471.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.3398, allocations: 1.311 MB / 472.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.3404, allocations: 343.9 kB / 472.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.3409, allocations: 102.8 kB / 473 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.3411, allocations: 34.41 kB / 473 MB, free: 7.738 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3411, allocations: 0 / 473 MB, free: 7.738 MB / 366.1 MB Notification: Performance of Templates: time 0.01782/0.3589, allocations: 6.258 MB / 479.3 MB, free: 5.973 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.144019275903702] Failed to read output from testmodel.py, exit status != 0: 0.3689299337565899 0.386794789 0.09556644900000001 Calling exit ...