Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.0007557/0.0007557, allocations: 91.61 kB / 21.44 MB, free: 3.098 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.0007408/0.0007408, allocations: 158.1 kB / 24.7 MB, free: 9.438 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.822/0.822, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2153/0.2153, allocations: 29.4 MB / 290.9 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 master/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.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.967e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008268/0.008298, allocations: 10.2 MB / 441.7 MB, free: 2.848 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1643/0.1726, allocations: 6.487 MB / 448.2 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1737, allocations: 69.41 kB / 448.2 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01313/0.1868, allocations: 14.31 MB / 462.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.1893, allocations: 1.17 MB / 463.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1907, allocations: 0.7524 MB / 464.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003543/0.1943, allocations: 4.199 MB / 468.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.1952, allocations: 0.8561 MB / 469.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.1967, allocations: 1.496 MB / 471 MB, free: 39.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1979, allocations: 1.399 MB / 472.4 MB, free: 38.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.1981, allocations: 151.2 kB / 472.6 MB, free: 38.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008842/0.199, allocations: 0.5645 MB / 473.1 MB, free: 38.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005245/0.1995, allocations: 0.9701 MB / 474.1 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.2, allocations: 0.6746 MB / 474.8 MB, free: 38.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.2025, allocations: 2.619 MB / 477.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2025, allocations: 1.672 kB / 477.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2025, allocations: 0 / 477.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.633e-05/0.2025, allocations: 3.938 kB / 477.4 MB, free: 37.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003395/0.2059, allocations: 2.198 MB / 479.6 MB, free: 36.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.206, allocations: 13.33 kB / 479.6 MB, free: 36.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.2072, allocations: 401.4 kB / 480 MB, free: 35.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.2092, allocations: 1.236 MB / 481.2 MB, free: 35.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.2093, allocations: 104.2 kB / 481.3 MB, free: 35.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.2097, allocations: 245.9 kB / 481.6 MB, free: 35.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.2123, allocations: 2.184 MB / 483.8 MB, free: 34.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.2124, allocations: 8.766 kB / 483.8 MB, free: 34.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2125, allocations: 65.98 kB / 483.8 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003475/0.2128, allocations: 185.6 kB / 484 MB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.2151, allocations: 1.824 MB / 485.8 MB, free: 33.66 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007404/0.2225, allocations: 7.368 MB / 493.2 MB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.2241, allocations: 1.394 MB / 494.6 MB, free: 28.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000936/0.225, allocations: 0.7761 MB / 495.4 MB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/0.2251, allocations: 15.97 kB / 495.4 MB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2251, allocations: 52.81 kB / 495.4 MB, free: 28.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.036e-06/0.2251, allocations: 1.062 kB / 495.4 MB, free: 28.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.007321/0.2324, allocations: 5.29 MB / 0.489 GB, free: 26.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2325, allocations: 92.36 kB / 0.4891 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.2333, allocations: 1.017 MB / 0.4901 GB, free: 25.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/0.2334, allocations: 51.2 kB / 0.4901 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.2336, allocations: 0.8141 MB / 0.4909 GB, free: 24.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.2338, allocations: 0.5374 MB / 0.4914 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.2341, allocations: 333.2 kB / 0.4918 GB, free: 24.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.58e-05/0.2341, allocations: 307.1 kB / 0.4921 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.2349, allocations: 0.7442 MB / 0.4928 GB, free: 23.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008282/0.2357, allocations: 1.229 MB / 0.494 GB, free: 22.47 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005095/0.2408, allocations: 4.322 MB / 0.4982 GB, free: 19.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.2408, allocations: 4 kB / 0.4982 GB, free: 19.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.003887/0.2447, allocations: 3.621 MB / 0.5017 GB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2447, allocations: 13.41 kB / 0.5018 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2447, allocations: 16.69 kB / 0.5018 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.2467, allocations: 1.437 MB / 0.5032 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.2472, allocations: 295.5 kB / 0.5035 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.2603, allocations: 19.84 MB / 0.5228 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.2614, allocations: 79.91 kB / 0.5229 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.2616, allocations: 79.98 kB / 0.523 GB, free: 9.113 MB / 426.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009065/0.2625, allocations: 0.5235 MB / 0.5235 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.2626, allocations: 151 kB / 0.5236 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.2647, allocations: 1.914 MB / 0.5255 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2647, allocations: 20 kB / 0.5255 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2647, allocations: 4 kB / 0.5255 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.2647, allocations: 7.969 kB / 0.5255 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.2686, allocations: 3.288 MB / 0.5287 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2686, allocations: 8.438 kB / 0.5288 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/0.2695, allocations: 343.8 kB / 0.5291 GB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.2698, allocations: 204 kB / 0.5293 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/0.2699, allocations: 54.72 kB / 0.5293 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.2732, allocations: 7.279 MB / 0.5364 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2732, allocations: 8.016 kB / 0.5364 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.2759, allocations: 2.618 MB / 0.539 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.2764, allocations: 262.9 kB / 0.5393 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.2765, allocations: 51.91 kB / 0.5393 GB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.277, allocations: 59.95 kB / 0.5394 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.2771, allocations: 109 kB / 0.5395 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.2772, allocations: 43.98 kB / 0.5395 GB, free: 7.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006493/0.2778, allocations: 0.6534 MB / 0.5401 GB, free: 6.816 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2778, allocations: 4 kB / 0.5401 GB, free: 6.812 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001706/0.2795, allocations: 0.539 MB / 0.5407 GB, free: 6.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],PI.x) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (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.0003324/0.2799, allocations: 182.8 kB / 0.5408 GB, free: 6.086 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003523/0.2834, allocations: 3.154 MB / 0.5439 GB, free: 2.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2834, allocations: 0 / 0.5439 GB, free: 2.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.2846, allocations: 1.361 MB / 0.5453 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2857, allocations: 326.4 kB / 0.5456 GB, free: 1.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.2908, allocations: 4.768 MB / 0.5502 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.2916, allocations: 1.001 MB / 0.5512 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.292, allocations: 112.5 kB / 0.5513 GB, free: 11.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/0.292, allocations: 0 / 0.5513 GB, free: 11.12 MB / 458.7 MB Notification: Performance of Templates: time 0.04358/0.3355, allocations: 60.1 MB / 0.61 GB, free: 15 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.873935155570507] Failed to read output from testmodel.py, exit status != 0: 0.34166243858635426 0.35076949700000004 0.146426347 Calling exit ...