Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001922/0.001922, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002277/0.002277, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1853/0.1853, allocations: 38.55 MB / 352.5 MB, free: 12.28 MB / 286.1 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_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",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.002112/0.002112, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01027/0.3297, allocations: 7.674 MB / 0.5494 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009104/0.3388, allocations: 5.044 MB / 0.5543 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.3396, allocations: 37.34 kB / 0.5544 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.3521, allocations: 5.743 MB / 0.56 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.3545, allocations: 0.8597 MB / 0.5608 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.3559, allocations: 0.503 MB / 0.5613 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004983/0.3609, allocations: 2.62 MB / 0.5639 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.362, allocations: 0.5477 MB / 0.5644 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.3636, allocations: 0.794 MB / 0.5652 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.3653, allocations: 1.082 MB / 0.5662 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.3655, allocations: 104 kB / 0.5663 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.3665, allocations: 387.5 kB / 0.5667 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007859/0.3673, allocations: 0.6739 MB / 0.5674 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007596/0.368, allocations: 0.5678 MB / 0.5679 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.3702, allocations: 1.759 MB / 0.5696 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3702, allocations: 0 / 0.5696 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3702, allocations: 4 kB / 0.5696 GB, free: 7.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.3702, allocations: 0 / 0.5696 GB, free: 7.766 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003271/0.3735, allocations: 1.557 MB / 0.5712 GB, free: 6.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3736, allocations: 11.98 kB / 0.5712 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.3738, allocations: 161.2 kB / 0.5713 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.3752, allocations: 283.8 kB / 0.5716 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.3773, allocations: 0.8696 MB / 0.5725 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.3774, allocations: 73.92 kB / 0.5725 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000464/0.3778, allocations: 191.8 kB / 0.5727 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.3803, allocations: 1.556 MB / 0.5742 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.3803, allocations: 4 kB / 0.5742 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.3804, allocations: 39.98 kB / 0.5743 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006143/0.3811, allocations: 153.9 kB / 0.5744 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3832, allocations: 1.245 MB / 0.5756 GB, free: 1.469 MB / 414.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.00892/0.3922, allocations: 5.64 MB / 0.5811 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3938, allocations: 0.8847 MB / 0.582 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.3946, allocations: 488.5 kB / 0.5825 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.3947, allocations: 9 kB / 0.5825 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3947, allocations: 43.56 kB / 0.5825 GB, free: 10.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.156e-06/0.3947, allocations: 3.938 kB / 0.5825 GB, free: 10.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006754/0.4015, allocations: 3.25 MB / 0.5857 GB, free: 6.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.4015, allocations: 90.11 kB / 0.5858 GB, free: 6.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.4025, allocations: 0.7389 MB / 0.5865 GB, free: 5.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.4026, allocations: 49.64 kB / 0.5866 GB, free: 5.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.403, allocations: 0.5667 MB / 0.5871 GB, free: 5.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.4034, allocations: 392.7 kB / 0.5875 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.4037, allocations: 234.8 kB / 0.5877 GB, free: 4.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.404, allocations: 414.7 kB / 0.5881 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/0.4049, allocations: 0.5647 MB / 0.5887 GB, free: 3.766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.4062, allocations: 0.8931 MB / 0.5895 GB, free: 2.742 MB / 430.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.008649/0.4148, allocations: 3.224 MB / 0.5927 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.4148, allocations: 8 kB / 0.5927 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00618/0.421, allocations: 2.694 MB / 0.5953 GB, free: 12.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4211, allocations: 8 kB / 0.5953 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.4211, allocations: 15.98 kB / 0.5953 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/0.4241, allocations: 1.139 MB / 0.5964 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/0.425, allocations: 199.7 kB / 0.5966 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.4446, allocations: 11.91 MB / 0.6083 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.4456, allocations: 63.89 kB / 0.6083 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.4458, allocations: 64.03 kB / 0.6084 GB, free: 15.04 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0008532/0.4467, allocations: 393.4 kB / 0.6088 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.4469, allocations: 107.3 kB / 0.6089 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.4493, allocations: 1.253 MB / 0.6101 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4494, allocations: 8 kB / 0.6101 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4494, allocations: 4 kB / 0.6101 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4494, allocations: 3.984 kB / 0.6101 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.4544, allocations: 2.38 MB / 0.6124 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4544, allocations: 4 kB / 0.6124 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.456, allocations: 275.6 kB / 0.6127 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.4562, allocations: 57.67 kB / 0.6127 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.4563, allocations: 40.11 kB / 0.6128 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.4586, allocations: 2.629 MB / 0.6154 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4586, allocations: 4 kB / 0.6154 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.4617, allocations: 1.743 MB / 0.6171 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/0.4623, allocations: 175.3 kB / 0.6172 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.4626, allocations: 48.03 kB / 0.6173 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.4632, allocations: 43.89 kB / 0.6173 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4634, allocations: 72.75 kB / 0.6174 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.4634, allocations: 31.98 kB / 0.6174 GB, free: 5.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007023/0.4641, allocations: 499 kB / 0.6179 GB, free: 4.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4641, allocations: 0 / 0.6179 GB, free: 4.918 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001435/0.4656, allocations: 376 kB / 0.6182 GB, free: 4.551 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.003395/0.469, allocations: 2.332 MB / 0.6205 GB, free: 2.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004218/0.4732, allocations: 2.038 MB / 0.6225 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.4732, allocations: 0 / 0.6225 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.4744, allocations: 0.7296 MB / 0.6232 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4757, allocations: 228.8 kB / 0.6234 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/0.5004, allocations: 13.92 MB / 0.637 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009992/0.5014, allocations: 0.7171 MB / 0.6377 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009034/0.5023, allocations: 316 kB / 0.638 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/0.503, allocations: 455.3 kB / 0.6385 GB, free: 15.25 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/0.503, allocations: 0 / 0.6385 GB, free: 15.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/0.5783, allocations: 30.72 MB / 0.6685 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.81, allocations: 4.062 kB / 0.6685 GB, free: 0.832 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.73855895223096] Failed to read output from testmodel.py, exit status != 0: 14.954062134027481 14.983138347 14.607544118 Calling exit ...