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.0008344/0.0008344, allocations: 79.7 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.0008908/0.0008908, allocations: 174 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.8907/0.8907, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2326/0.2326, allocations: 29.42 MB / 290.1 MB, free: 2.453 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.773e-05, allocations: 4.531 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008082/0.0081, allocations: 10.22 MB / 440.4 MB, free: 3.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1792/0.1873, allocations: 6.485 MB / 446.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1885, allocations: 68.75 kB / 447 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.202, allocations: 14.31 MB / 461.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.2044, allocations: 1.173 MB / 462.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.2059, allocations: 0.7503 MB / 463.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.2101, allocations: 4.199 MB / 467.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.2113, allocations: 0.8559 MB / 468.3 MB, free: 39.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.2139, allocations: 1.491 MB / 469.7 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.2161, allocations: 1.403 MB / 471.1 MB, free: 38.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.2165, allocations: 149.5 kB / 471.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.2179, allocations: 0.5613 MB / 471.9 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.2192, allocations: 0.9659 MB / 472.8 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.2205, allocations: 0.6777 MB / 473.5 MB, free: 37.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003761/0.2242, allocations: 2.621 MB / 476.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2243, allocations: 0 / 476.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2243, allocations: 1.281 kB / 476.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.646e-05/0.2244, allocations: 0 / 476.1 MB, free: 37.03 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.004383/0.2287, allocations: 2.204 MB / 478.3 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2288, allocations: 12.7 kB / 478.3 MB, free: 35.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000598/0.2294, allocations: 228.1 kB / 478.6 MB, free: 35.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.2311, allocations: 406.1 kB / 479 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.2336, allocations: 1.234 MB / 480.2 MB, free: 34.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.2336, allocations: 106.8 kB / 480.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.2341, allocations: 237 kB / 480.5 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.2371, allocations: 2.189 MB / 482.7 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/0.2372, allocations: 15.62 kB / 482.7 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.2373, allocations: 59.22 kB / 482.8 MB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/0.2377, allocations: 190.3 kB / 483 MB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.2405, allocations: 1.818 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.00872/0.2492, allocations: 7.6 MB / 492.4 MB, free: 28.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.251, allocations: 1.374 MB / 493.8 MB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009886/0.252, allocations: 0.7736 MB / 494.5 MB, free: 27.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/0.2521, allocations: 21.91 kB / 494.6 MB, free: 27.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2521, allocations: 45.84 kB / 494.6 MB, free: 27.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.576e-06/0.2521, allocations: 0 / 494.6 MB, free: 27.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.008959/0.2611, allocations: 5.3 MB / 499.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.2611, allocations: 96.11 kB / 500 MB, free: 25.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.2623, allocations: 1.103 MB / 0.4894 GB, free: 25.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.2623, allocations: 55.48 kB / 0.4894 GB, free: 24.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.2627, allocations: 0.7994 MB / 0.4902 GB, free: 24.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.2631, allocations: 0.5396 MB / 0.4907 GB, free: 23.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.2634, allocations: 329.1 kB / 0.491 GB, free: 23.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.2634, allocations: 305.1 kB / 0.4913 GB, free: 23.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.2643, allocations: 0.7376 MB / 0.492 GB, free: 22.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/0.2651, allocations: 1.226 MB / 0.4932 GB, free: 22.03 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.005288/0.2704, allocations: 4.33 MB / 0.4975 GB, free: 18.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.2704, allocations: 4 kB / 0.4975 GB, free: 18.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00399/0.2744, allocations: 3.628 MB / 0.501 GB, free: 15.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2744, allocations: 22.59 kB / 0.501 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.2744, allocations: 12 kB / 0.501 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.2763, allocations: 1.442 MB / 0.5025 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.2769, allocations: 291.5 kB / 0.5027 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.2909, allocations: 20.01 MB / 0.5223 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.2927, allocations: 83.91 kB / 0.5224 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.2928, allocations: 80.14 kB / 0.5224 GB, free: 8.457 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.00109/0.2939, allocations: 0.5287 MB / 0.5229 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.2941, allocations: 151 kB / 0.5231 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.2965, allocations: 1.912 MB / 0.525 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2965, allocations: 16 kB / 0.525 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2966, allocations: 0 / 0.525 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.2966, allocations: 11.97 kB / 0.525 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.301, allocations: 3.49 MB / 0.5284 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.301, allocations: 0 / 0.5284 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/0.3019, allocations: 347.8 kB / 0.5287 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.3022, allocations: 200.1 kB / 0.5289 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.3023, allocations: 55.97 kB / 0.529 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/0.3064, allocations: 7.389 MB / 0.5362 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3064, allocations: 0 / 0.5362 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.3098, allocations: 2.636 MB / 0.5388 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.3105, allocations: 262.9 kB / 0.539 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.3107, allocations: 55.94 kB / 0.5391 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.3112, allocations: 63.94 kB / 0.5391 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.3114, allocations: 109 kB / 0.5392 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.3115, allocations: 39.98 kB / 0.5393 GB, free: 6.473 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3125, allocations: 0.7139 MB / 0.54 GB, free: 5.754 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3125, allocations: 0 / 0.54 GB, free: 5.754 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001744/0.3143, allocations: 0.5429 MB / 0.5405 GB, free: 5.211 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.003222/0.3175, allocations: 3.248 MB / 0.5437 GB, free: 1.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004006/0.3215, allocations: 3.167 MB / 0.5468 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3215, allocations: 1.688 kB / 0.5468 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.3228, allocations: 1.364 MB / 0.5481 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3238, allocations: 331.6 kB / 0.5484 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/0.3466, allocations: 17.99 MB / 0.566 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.3475, allocations: 1.001 MB / 0.567 GB, free: 9.258 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009252/0.3484, allocations: 440.7 kB / 0.5674 GB, free: 8.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/0.3491, allocations: 0.6916 MB / 0.5681 GB, free: 8.129 MB / 474.7 MB Notification: Performance of SimCode: time 2.595e-06/0.3491, allocations: 0 / 0.5681 GB, free: 8.129 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/0.4182, allocations: 45.01 MB / 0.612 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.944/9.362, allocations: 18.64 kB / 0.612 GB, free: 11.52 MB / 0.5105 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.286398222669959] Failed to read output from testmodel.py, exit status != 0: 9.478117468766868 9.490363316 9.263435087 Calling exit ...