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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 93.55 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 175.2 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1702/0.1702, allocations: 38.07 MB / 310.7 MB, free: 5.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005732/0.0005732, allocations: 12.33 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2926, allocations: 56.33 MB / 434.1 MB, free: 18.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01133/0.304, allocations: 12.49 MB / 446.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3175, allocations: 7.812 MB / 454.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.3199, allocations: 83.44 kB / 454.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01982/0.3398, allocations: 12.51 MB / 467 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.3435, allocations: 1.062 MB / 468.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.3457, allocations: 0.6201 MB / 468.7 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008237/0.354, allocations: 5.666 MB / 474.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.3566, allocations: 1.258 MB / 475.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.3588, allocations: 0.9061 MB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.3617, allocations: 1.472 MB / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.362, allocations: 76 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3633, allocations: 459.2 kB / 478.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009287/0.3642, allocations: 0.8337 MB / 479.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3654, allocations: 0.9109 MB / 480.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.3676, allocations: 1.902 MB / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3676, allocations: 4 kB / 482.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3676, allocations: 0 / 482.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.3676, allocations: 0 / 482.2 MB, free: 2.684 MB / 350.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.004092/0.3717, allocations: 1.89 MB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3718, allocations: 8.031 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.3736, allocations: 338.2 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.3762, allocations: 1.291 MB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.3763, allocations: 102.7 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005586/0.3768, allocations: 235.7 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.3803, allocations: 2.204 MB / 488.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.3804, allocations: 0 / 488.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.3805, allocations: 59.98 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00064/0.3812, allocations: 182.8 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.3843, allocations: 1.85 MB / 490.3 MB, free: 10.32 MB / 366.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.01258/0.3969, allocations: 8.582 MB / 498.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.3997, allocations: 1.91 MB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.4011, allocations: 0.8098 MB / 0.4899 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.4012, allocations: 17.38 kB / 0.4899 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.4013, allocations: 47.88 kB / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.697e-06/0.4013, allocations: 0 / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01274/0.414, allocations: 6.014 MB / 0.4958 GB, free: 8.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.4141, allocations: 102.3 kB / 0.4959 GB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.4156, allocations: 1.071 MB / 0.497 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.4158, allocations: 49.7 kB / 0.497 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.4164, allocations: 0.7757 MB / 0.4978 GB, free: 6.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.4169, allocations: 0.5315 MB / 0.4983 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.4171, allocations: 165.7 kB / 0.4984 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4172, allocations: 301.1 kB / 0.4987 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.4184, allocations: 0.7457 MB / 0.4995 GB, free: 4.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.4201, allocations: 1.234 MB / 0.5007 GB, free: 2.977 MB / 382.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.01099/0.4311, allocations: 4.346 MB / 0.5049 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.4312, allocations: 4 kB / 0.5049 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00835/0.4395, allocations: 3.981 MB / 0.5088 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.4396, allocations: 12 kB / 0.5088 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/0.4397, allocations: 16 kB / 0.5088 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/0.4438, allocations: 1.445 MB / 0.5102 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4451, allocations: 291.5 kB / 0.5105 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3021/0.7472, allocations: 19.18 MB / 0.5292 GB, free: 77.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.7489, allocations: 88.84 kB / 0.5293 GB, free: 77.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.7491, allocations: 76.78 kB / 0.5294 GB, free: 77.79 MB / 398.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: 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.001078/0.7502, allocations: 0.5258 MB / 0.5299 GB, free: 77.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.7504, allocations: 146.1 kB / 0.53 GB, free: 77.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/0.7539, allocations: 2.225 MB / 0.5322 GB, free: 76.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.754, allocations: 15.06 kB / 0.5322 GB, free: 76.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.754, allocations: 10.36 kB / 0.5322 GB, free: 76.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.754, allocations: 8.938 kB / 0.5323 GB, free: 76.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006734/0.7607, allocations: 4.002 MB / 0.5362 GB, free: 74.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.7608, allocations: 5.375 kB / 0.5362 GB, free: 74.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.7623, allocations: 355.6 kB / 0.5365 GB, free: 74.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.7629, allocations: 200.9 kB / 0.5367 GB, free: 74.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.763, allocations: 48.94 kB / 0.5367 GB, free: 74.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/0.7671, allocations: 7.315 MB / 0.5439 GB, free: 67.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7671, allocations: 2.688 kB / 0.5439 GB, free: 67.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.771, allocations: 2.942 MB / 0.5468 GB, free: 66.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.7716, allocations: 348 kB / 0.5471 GB, free: 66.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.7718, allocations: 53.22 kB / 0.5471 GB, free: 65.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.7726, allocations: 54.58 kB / 0.5472 GB, free: 65.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.7728, allocations: 105.3 kB / 0.5473 GB, free: 65.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.7729, allocations: 42.39 kB / 0.5473 GB, free: 65.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008936/0.7738, allocations: 0.7167 MB / 0.548 GB, free: 65.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7738, allocations: 0 / 0.548 GB, free: 65.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001948/0.7758, allocations: 0.5428 MB / 0.5486 GB, free: 65.61 MB / 398.1 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.000357/0.7761, allocations: 178.2 kB / 0.5487 GB, free: 65.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004506/0.7806, allocations: 3.224 MB / 0.5519 GB, free: 62.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7807, allocations: 0 / 0.5519 GB, free: 62.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.7824, allocations: 1.413 MB / 0.5533 GB, free: 60.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.7844, allocations: 329.4 kB / 0.5536 GB, free: 60.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.7916, allocations: 6.385 MB / 0.5598 GB, free: 54.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.7926, allocations: 1.588 MB / 0.5614 GB, free: 52.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.7932, allocations: 119.4 kB / 0.5615 GB, free: 52.31 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7932, allocations: 3.938 kB / 0.5615 GB, free: 52.31 MB / 398.1 MB Notification: Performance of Templates: time 0.06035/0.8536, allocations: 58.79 MB / 0.6189 GB, free: 9.438 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.o] Error 1