Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0008645/0.0008645, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008115/0.0008115, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9054/0.9054, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2087/0.2087, allocations: 29.41 MB / 290.1 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.521e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008351/0.008366, allocations: 10.21 MB / 440.4 MB, free: 3.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1891/0.1975, allocations: 6.486 MB / 446.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.1983, allocations: 67.47 kB / 447 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.2095, allocations: 14.31 MB / 461.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.2109, allocations: 1.173 MB / 462.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.212, allocations: 0.7441 MB / 463.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.2143, allocations: 4.202 MB / 467.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006312/0.2149, allocations: 0.8603 MB / 468.3 MB, free: 39.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008822/0.2158, allocations: 1.49 MB / 469.7 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008924/0.2167, allocations: 1.399 MB / 471.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.2168, allocations: 150.5 kB / 471.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.2174, allocations: 0.5685 MB / 471.9 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.2178, allocations: 0.9681 MB / 472.8 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.2182, allocations: 0.6754 MB / 473.5 MB, free: 37.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2201, allocations: 2.617 MB / 476.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2201, allocations: 0.8438 kB / 476.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2201, allocations: 4 kB / 476.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.2201, allocations: 1.188 kB / 476.1 MB, free: 37.02 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.002652/0.2227, allocations: 2.2 MB / 478.3 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2228, allocations: 13.05 kB / 478.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002204/0.223, allocations: 229.7 kB / 478.6 MB, free: 35.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.2241, allocations: 404.7 kB / 479 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.2257, allocations: 1.235 MB / 480.2 MB, free: 34.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.2258, allocations: 107 kB / 480.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/0.2262, allocations: 235.9 kB / 480.5 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.2286, allocations: 2.196 MB / 482.7 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.2287, allocations: 6.969 kB / 482.7 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.2288, allocations: 59.08 kB / 482.8 MB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004151/0.2292, allocations: 190.3 kB / 483 MB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.2319, allocations: 1.819 MB / 484.8 MB, free: 33.25 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.007065/0.239, allocations: 7.594 MB / 492.4 MB, free: 28.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2406, allocations: 1.385 MB / 493.8 MB, free: 28.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009527/0.2415, allocations: 0.7681 MB / 494.5 MB, free: 27.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.776e-05/0.2416, allocations: 19.91 kB / 494.6 MB, free: 27.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2416, allocations: 46.62 kB / 494.6 MB, free: 27.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.986e-06/0.2416, allocations: 0 / 494.6 MB, free: 27.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.007456/0.2491, allocations: 5.304 MB / 499.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2491, allocations: 102.4 kB / 0.4883 GB, free: 25.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/0.2501, allocations: 1.097 MB / 0.4894 GB, free: 25.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.2501, allocations: 51.2 kB / 0.4894 GB, free: 24.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.2505, allocations: 0.8003 MB / 0.4902 GB, free: 24.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.2507, allocations: 0.5396 MB / 0.4907 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.2511, allocations: 329.8 kB / 0.491 GB, free: 23.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.2512, allocations: 306.7 kB / 0.4913 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/0.252, allocations: 0.7379 MB / 0.492 GB, free: 22.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.2528, allocations: 1.225 MB / 0.4932 GB, free: 22.02 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.005517/0.2583, allocations: 4.329 MB / 0.4975 GB, free: 18.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2584, allocations: 8 kB / 0.4975 GB, free: 18.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.004077/0.2624, allocations: 3.626 MB / 0.501 GB, free: 15.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2625, allocations: 19.94 kB / 0.501 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2625, allocations: 16 kB / 0.5011 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.2644, allocations: 1.435 MB / 0.5025 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.265, allocations: 287.5 kB / 0.5027 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.2789, allocations: 20.01 MB / 0.5223 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008026/0.2797, allocations: 88.06 kB / 0.5224 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2798, allocations: 75.98 kB / 0.5224 GB, free: 8.445 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.00116/0.2809, allocations: 0.5238 MB / 0.5229 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.2811, allocations: 163 kB / 0.5231 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.2833, allocations: 1.915 MB / 0.525 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.2833, allocations: 12 kB / 0.525 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2833, allocations: 4 kB / 0.525 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.2834, allocations: 7.969 kB / 0.525 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.2874, allocations: 3.489 MB / 0.5284 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2874, allocations: 4 kB / 0.5284 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/0.2882, allocations: 343.8 kB / 0.5287 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.2886, allocations: 212 kB / 0.5289 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.2886, allocations: 47.98 kB / 0.529 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.2923, allocations: 7.379 MB / 0.5362 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2923, allocations: 4.031 kB / 0.5362 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.2951, allocations: 2.641 MB / 0.5388 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.2955, allocations: 262.9 kB / 0.539 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2956, allocations: 51.94 kB / 0.5391 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.296, allocations: 63.94 kB / 0.5391 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.2961, allocations: 109 kB / 0.5392 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.2962, allocations: 36 kB / 0.5393 GB, free: 6.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000608/0.2968, allocations: 0.7178 MB / 0.54 GB, free: 5.738 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2968, allocations: 0 / 0.54 GB, free: 5.738 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001341/0.2981, allocations: 0.5429 MB / 0.5405 GB, free: 5.195 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.00298/0.3011, allocations: 3.253 MB / 0.5437 GB, free: 1.871 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.3046, allocations: 3.152 MB / 0.5468 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3046, allocations: 3.938 kB / 0.5468 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.3057, allocations: 1.364 MB / 0.5481 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.3066, allocations: 341.5 kB / 0.5484 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.3259, allocations: 17.99 MB / 0.566 GB, free: 10.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.3267, allocations: 1.005 MB / 0.567 GB, free: 9.238 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007382/0.3275, allocations: 444.7 kB / 0.5674 GB, free: 8.797 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/0.3281, allocations: 0.68 MB / 0.5681 GB, free: 8.117 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3281, allocations: 0 / 0.5681 GB, free: 8.117 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05877/0.3868, allocations: 45.02 MB / 0.612 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/9.761, allocations: 6.047 kB / 0.612 GB, free: 11.5 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.6386813018471] Failed to read output from testmodel.py, exit status != 0: 9.874566153623164 9.882676002 9.660930607 Calling exit ...