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.0009537/0.0009534, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0008799/0.0008799, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.19/1.19, allocations: 205.1 MB / 223.9 MB, free: 12.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1557/0.1557, allocations: 38.01 MB / 309.3 MB, free: 6.234 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.001182/0.001182, allocations: 71.02 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1864, allocations: 55.24 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008844/0.1953, allocations: 13.04 MB / 443.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008985/0.2043, allocations: 7.952 MB / 451.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.2054, allocations: 87.44 kB / 451.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01836/0.2238, allocations: 13 MB / 464.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.2264, allocations: 1.062 MB / 465.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2279, allocations: 0.6201 MB / 466.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.233, allocations: 5.651 MB / 471.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.2341, allocations: 0.8875 MB / 472.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009896/0.2351, allocations: 0.9607 MB / 473.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.2366, allocations: 1.515 MB / 475.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.2368, allocations: 100 kB / 475.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008151/0.2376, allocations: 483.2 kB / 475.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006718/0.2383, allocations: 0.8533 MB / 476.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008089/0.2391, allocations: 0.9287 MB / 477.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.2406, allocations: 1.933 MB / 479.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2406, allocations: 4 kB / 479.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2406, allocations: 0 / 479.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.2406, allocations: 0 / 479.6 MB, free: 2.594 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.003821/0.2445, allocations: 2.221 MB / 481.8 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2445, allocations: 12.03 kB / 481.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.2461, allocations: 330.4 kB / 482.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.2483, allocations: 1.276 MB / 483.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.2484, allocations: 110.7 kB / 483.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.2489, allocations: 235.7 kB / 483.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.252, allocations: 2.196 MB / 485.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.252, allocations: 4 kB / 485.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.2522, allocations: 55.98 kB / 486 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005877/0.2528, allocations: 194.8 kB / 486.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.2557, allocations: 1.83 MB / 488 MB, free: 9.922 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.009813/0.2655, allocations: 8.571 MB / 496.6 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.2679, allocations: 1.91 MB / 498.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.2691, allocations: 0.81 MB / 499.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.2692, allocations: 25.38 kB / 499.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2693, allocations: 47.86 kB / 499.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.036e-06/0.2693, allocations: 0 / 499.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01085/0.2801, allocations: 5.955 MB / 0.4935 GB, free: 7.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.2802, allocations: 94.42 kB / 0.4936 GB, free: 7.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2814, allocations: 1.067 MB / 0.4946 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.765e-05/0.2815, allocations: 49.7 kB / 0.4947 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.282, allocations: 0.7795 MB / 0.4954 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.2823, allocations: 0.5276 MB / 0.4959 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.2827, allocations: 327.3 kB / 0.4962 GB, free: 4.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.2828, allocations: 305.2 kB / 0.4965 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.2839, allocations: 0.7418 MB / 0.4973 GB, free: 3.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.2853, allocations: 1.226 MB / 0.4985 GB, free: 2.504 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.009515/0.2948, allocations: 4.323 MB / 0.5027 GB, free: 14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2948, allocations: 4 kB / 0.5027 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007112/0.3019, allocations: 3.977 MB / 0.5066 GB, free: 9.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.302, allocations: 12 kB / 0.5066 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.302, allocations: 16 kB / 0.5066 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/0.3058, allocations: 1.433 MB / 0.508 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.3068, allocations: 291.5 kB / 0.5083 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1887/0.4955, allocations: 19.15 MB / 0.527 GB, free: 78.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4967, allocations: 80.95 kB / 0.5271 GB, free: 78.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.4969, allocations: 75.33 kB / 0.5271 GB, free: 78.28 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 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.0007711/0.4976, allocations: 0.5259 MB / 0.5276 GB, free: 78.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.4978, allocations: 141.2 kB / 0.5278 GB, free: 78.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.5007, allocations: 2.222 MB / 0.5299 GB, free: 76.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5007, allocations: 18.06 kB / 0.53 GB, free: 76.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5008, allocations: 3.719 kB / 0.53 GB, free: 76.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5008, allocations: 7.875 kB / 0.53 GB, free: 76.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.5062, allocations: 3.989 MB / 0.5339 GB, free: 75.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.5063, allocations: 2.281 kB / 0.5339 GB, free: 75.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.5078, allocations: 346.1 kB / 0.5342 GB, free: 75.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.5082, allocations: 209.4 kB / 0.5344 GB, free: 74.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.64e-05/0.5083, allocations: 49.95 kB / 0.5344 GB, free: 74.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/0.5119, allocations: 7.293 MB / 0.5416 GB, free: 68.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.5119, allocations: 11.58 kB / 0.5416 GB, free: 68.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.5151, allocations: 2.927 MB / 0.5444 GB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.5156, allocations: 346.9 kB / 0.5448 GB, free: 66.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.5158, allocations: 50.23 kB / 0.5448 GB, free: 66.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.5165, allocations: 66.95 kB / 0.5449 GB, free: 66.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.5167, allocations: 98.78 kB / 0.545 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-05/0.5167, allocations: 44.42 kB / 0.545 GB, free: 66.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007051/0.5174, allocations: 0.7134 MB / 0.5457 GB, free: 66.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5175, allocations: 3.844 kB / 0.5457 GB, free: 66.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001561/0.519, allocations: 0.5489 MB / 0.5463 GB, free: 66 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.0002871/0.5193, allocations: 180.8 kB / 0.5464 GB, free: 65.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003802/0.5231, allocations: 3.214 MB / 0.5496 GB, free: 62.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5231, allocations: 0 / 0.5496 GB, free: 62.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.5246, allocations: 1.401 MB / 0.5509 GB, free: 61.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5259, allocations: 313.4 kB / 0.5512 GB, free: 60.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.5318, allocations: 6.005 MB / 0.5571 GB, free: 54.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.5326, allocations: 1.576 MB / 0.5586 GB, free: 53.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.533, allocations: 123.4 kB / 0.5588 GB, free: 53.13 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.533, allocations: 1.75 kB / 0.5588 GB, free: 53.13 MB / 398.1 MB Notification: Performance of Templates: time 0.04338/0.5764, allocations: 58.95 MB / 0.6163 GB, free: 10.09 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