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.001354/0.001354, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001943/0.001943, allocations: 212.8 kB / 23.74 MB, free: 4.656 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.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.1836/0.1836, allocations: 38.54 MB / 352.5 MB, free: 12.54 MB / 286.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: "" <> 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.91 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 62.46 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01376/0.3377, allocations: 11.3 MB / 0.553 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.3492, allocations: 7.164 MB / 0.56 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.3504, allocations: 69 kB / 0.5601 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02657/0.377, allocations: 14.48 MB / 0.5742 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.3809, allocations: 1.147 MB / 0.5754 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.3834, allocations: 0.7096 MB / 0.576 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00751/0.3909, allocations: 4.184 MB / 0.5801 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.3927, allocations: 0.8592 MB / 0.581 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.3954, allocations: 1.156 MB / 0.5821 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.3994, allocations: 1.561 MB / 0.5836 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000693/0.4001, allocations: 152 kB / 0.5838 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.4026, allocations: 0.6045 MB / 0.5844 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.4048, allocations: 0.9194 MB / 0.5853 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003236/0.408, allocations: 0.9834 MB / 0.5862 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.4148, allocations: 2.584 MB / 0.5887 GB, free: 4.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4148, allocations: 0 / 0.5887 GB, free: 4.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4148, allocations: 0 / 0.5887 GB, free: 4.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.312e-05/0.4149, allocations: 0 / 0.5887 GB, free: 4.508 MB / 430.1 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.007804/0.4227, allocations: 2.219 MB / 0.5909 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.4227, allocations: 15.98 kB / 0.5909 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004481/0.4232, allocations: 232.5 kB / 0.5911 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.4268, allocations: 387.1 kB / 0.5915 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.4316, allocations: 1.24 MB / 0.5927 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.4318, allocations: 110.7 kB / 0.5928 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009979/0.4328, allocations: 235.9 kB / 0.5931 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/0.4381, allocations: 2.2 MB / 0.5952 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.4382, allocations: 4 kB / 0.5952 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.4384, allocations: 55.98 kB / 0.5953 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.4395, allocations: 190.8 kB / 0.5954 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005164/0.4446, allocations: 1.834 MB / 0.5972 GB, free: 11.6 MB / 446.1 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.02002/0.4646, allocations: 8.422 MB / 0.6055 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.4685, allocations: 1.38 MB / 0.6068 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.4707, allocations: 0.759 MB / 0.6075 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.4708, allocations: 21.36 kB / 0.6076 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.4708, allocations: 51.88 kB / 0.6076 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 8.355e-06/0.4709, allocations: 3.984 kB / 0.6076 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.03604/0.5069, allocations: 8.479 MB / 0.6159 GB, free: 7.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.507, allocations: 102.4 kB / 0.616 GB, free: 7.867 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.5091, allocations: 1.063 MB / 0.617 GB, free: 6.793 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.5093, allocations: 57.73 kB / 0.6171 GB, free: 6.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000901/0.5102, allocations: 0.8015 MB / 0.6179 GB, free: 5.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008216/0.511, allocations: 0.6159 MB / 0.6185 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007864/0.5118, allocations: 355.4 kB / 0.6188 GB, free: 4.945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5119, allocations: 305.1 kB / 0.6191 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5142, allocations: 0.8472 MB / 0.6199 GB, free: 3.793 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.5171, allocations: 1.348 MB / 0.6213 GB, free: 2.238 MB / 462.1 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.0201/0.5372, allocations: 5.187 MB / 0.6263 GB, free: 12.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.5372, allocations: 4 kB / 0.6263 GB, free: 12.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01369/0.5509, allocations: 3.999 MB / 0.6302 GB, free: 8.848 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.5509, allocations: 12 kB / 0.6302 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.5509, allocations: 12 kB / 0.6302 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005094/0.556, allocations: 1.601 MB / 0.6318 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.5574, allocations: 319.5 kB / 0.6321 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03041/0.5878, allocations: 20.29 MB / 0.6519 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.5894, allocations: 91.92 kB / 0.652 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/0.5896, allocations: 84 kB / 0.6521 GB, free: 1.715 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 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 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001156/0.5908, allocations: 0.5479 MB / 0.6526 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.5912, allocations: 159 kB / 0.6528 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.5968, allocations: 2.496 MB / 0.6552 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5968, allocations: 16 kB / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.5968, allocations: 12 kB / 0.6553 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.5968, allocations: 11.97 kB / 0.6553 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009799/0.6066, allocations: 4.48 MB / 0.6596 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6066, allocations: 0 / 0.6596 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.6085, allocations: 347.9 kB / 0.66 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.6101, allocations: 0.4896 MB / 0.6604 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.6103, allocations: 51.97 kB / 0.6605 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.6237, allocations: 12.03 MB / 0.6722 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.6237, allocations: 11.94 kB / 0.6723 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/0.6309, allocations: 3.409 MB / 0.6756 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.6319, allocations: 298.8 kB / 0.6759 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.6323, allocations: 47.98 kB / 0.6759 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6333, allocations: 79.92 kB / 0.676 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.6337, allocations: 129 kB / 0.6761 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6338, allocations: 47.98 kB / 0.6762 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00126/0.635, allocations: 0.7139 MB / 0.6769 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.635, allocations: 0 / 0.6769 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002487/0.6375, allocations: 0.6015 MB / 0.6774 GB, free: 6.695 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007442/0.645, allocations: 4.034 MB / 0.6814 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00657/0.6515, allocations: 3.379 MB / 0.6847 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6515, allocations: 0 / 0.6847 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.6548, allocations: 1.826 MB / 0.6865 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.6568, allocations: 351 kB / 0.6868 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/0.6976, allocations: 19.61 MB / 0.706 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.6999, allocations: 1.652 MB / 0.7076 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001582/0.7014, allocations: 437.3 kB / 0.708 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.7027, allocations: 0.7063 MB / 0.7087 GB, free: 5.691 MB / 0.545 GB Notification: Performance of SimCode: time 1.123e-06/0.7027, allocations: 0 / 0.7087 GB, free: 5.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/1.098, allocations: 50.19 MB / 0.7577 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.69, allocations: 6.031 kB / 0.7577 GB, free: 157.1 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.524443121859804] Failed to read output from testmodel.py, exit status != 0: 17.842593650100753 17.85279057 17.435502858 Calling exit ...