Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.0008866/0.0008866, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001072/0.001072, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8888/0.8888, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2113/0.2113, allocations: 29.41 MB / 290.1 MB, free: 2.457 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_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.722e-05, allocations: 8.047 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.007699/0.007717, allocations: 10.15 MB / 440.4 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1692/0.1769, allocations: 6.491 MB / 446.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.1775, allocations: 66.41 kB / 446.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.189, allocations: 14.35 MB / 461.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.1905, allocations: 1.159 MB / 462.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1915, allocations: 0.7062 MB / 463.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.1943, allocations: 4.094 MB / 467.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.1951, allocations: 0.8351 MB / 468.1 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.1964, allocations: 1.442 MB / 469.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.1975, allocations: 1.365 MB / 470.9 MB, free: 38.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.1976, allocations: 146.2 kB / 471 MB, free: 38.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.1983, allocations: 0.5474 MB / 471.5 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.1988, allocations: 0.9494 MB / 472.5 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.1992, allocations: 0.6613 MB / 473.2 MB, free: 37.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.201, allocations: 2.548 MB / 475.7 MB, free: 37.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.201, allocations: 3.938 kB / 475.7 MB, free: 37.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.201, allocations: 0 / 475.7 MB, free: 37.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.201, allocations: 4 kB / 475.7 MB, free: 37.2 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002682/0.2037, allocations: 2.116 MB / 477.8 MB, free: 35.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2037, allocations: 14.58 kB / 477.8 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.2039, allocations: 225.5 kB / 478.1 MB, free: 35.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.2049, allocations: 388.3 kB / 478.4 MB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.2065, allocations: 1.191 MB / 479.6 MB, free: 35.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.2066, allocations: 107.3 kB / 479.7 MB, free: 35.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/0.2069, allocations: 238.7 kB / 480 MB, free: 35.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.2092, allocations: 2.15 MB / 482.1 MB, free: 34.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.2093, allocations: 4.062 kB / 482.1 MB, free: 34.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.2094, allocations: 55.12 kB / 482.2 MB, free: 34.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003526/0.2097, allocations: 181.6 kB / 482.4 MB, free: 34.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.2118, allocations: 1.753 MB / 484.1 MB, free: 33.51 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.006803/0.2186, allocations: 7.642 MB / 491.8 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.2203, allocations: 1.301 MB / 493.1 MB, free: 28.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.2212, allocations: 0.7551 MB / 493.8 MB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.624e-05/0.2213, allocations: 19 kB / 493.8 MB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2213, allocations: 45.47 kB / 493.9 MB, free: 27.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.046e-06/0.2213, allocations: 1.031 kB / 493.9 MB, free: 27.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.007166/0.2285, allocations: 4.951 MB / 498.8 MB, free: 25.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.2285, allocations: 92.89 kB / 498.9 MB, free: 25.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/0.2294, allocations: 1.065 MB / 500 MB, free: 25.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.2295, allocations: 54.8 kB / 0.4883 GB, free: 25.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.2298, allocations: 0.7784 MB / 0.4891 GB, free: 24.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.23, allocations: 0.5121 MB / 0.4896 GB, free: 24.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.2303, allocations: 312.7 kB / 0.4899 GB, free: 24.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.907e-05/0.2303, allocations: 306.4 kB / 0.4902 GB, free: 23.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009944/0.2313, allocations: 0.7215 MB / 0.4909 GB, free: 23.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008879/0.2322, allocations: 1.179 MB / 0.492 GB, free: 22.64 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.006035/0.2383, allocations: 4.916 MB / 0.4968 GB, free: 19.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.2383, allocations: 4 kB / 0.4968 GB, free: 19.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004646/0.2429, allocations: 3.335 MB / 0.5001 GB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.2429, allocations: 16.77 kB / 0.5001 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.243, allocations: 16 kB / 0.5001 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.2453, allocations: 1.242 MB / 0.5013 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.2462, allocations: 323.5 kB / 0.5016 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.2576, allocations: 15.37 MB / 0.5166 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.2588, allocations: 75.95 kB / 0.5167 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.2589, allocations: 76.27 kB / 0.5168 GB, free: 14.43 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 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009439/0.2598, allocations: 0.5167 MB / 0.5173 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.26, allocations: 151 kB / 0.5174 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.2624, allocations: 1.83 MB / 0.5192 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2624, allocations: 12 kB / 0.5192 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2624, allocations: 5.625 kB / 0.5192 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2624, allocations: 23.78 kB / 0.5193 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.2668, allocations: 3.343 MB / 0.5225 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.2668, allocations: 7.938 kB / 0.5225 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009175/0.2677, allocations: 327.8 kB / 0.5228 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.2681, allocations: 196.1 kB / 0.523 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.2682, allocations: 47.97 kB / 0.5231 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/0.2723, allocations: 7.402 MB / 0.5303 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2723, allocations: 0 / 0.5303 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.2756, allocations: 2.521 MB / 0.5328 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/0.2762, allocations: 256 kB / 0.533 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.2764, allocations: 43.98 kB / 0.5331 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.2769, allocations: 64.22 kB / 0.5331 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.2771, allocations: 97.06 kB / 0.5332 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.2771, allocations: 47.92 kB / 0.5333 GB, free: 12.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008055/0.2779, allocations: 0.7009 MB / 0.5339 GB, free: 12.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2779, allocations: 0 / 0.5339 GB, free: 12.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001628/0.2796, allocations: 0.4999 MB / 0.5344 GB, free: 11.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * 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.003354/0.2829, allocations: 3.165 MB / 0.5375 GB, free: 8.402 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0039/0.2868, allocations: 2.767 MB / 0.5402 GB, free: 5.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2868, allocations: 0 / 0.5402 GB, free: 5.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.2883, allocations: 1.333 MB / 0.5415 GB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.2895, allocations: 314 kB / 0.5418 GB, free: 3.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/0.3111, allocations: 17.19 MB / 0.5586 GB, free: 2.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/0.3119, allocations: 0.9565 MB / 0.5595 GB, free: 1.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008978/0.3128, allocations: 448 kB / 0.56 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/0.3135, allocations: 0.6605 MB / 0.5606 GB, free: 15.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3135, allocations: 0 / 0.5606 GB, free: 15.99 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06238/0.3759, allocations: 42.97 MB / 0.6026 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.083/9.459, allocations: 10 kB / 0.6026 GB, free: 5.406 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.319541164673865] Failed to read output from testmodel.py, exit status != 0: 9.572921346873045 9.584707509 9.38180044 Calling exit ...