Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.000918, allocations: 93.44 kB / 17.31 MB, free: 6.531 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.001185/0.001185, allocations: 178.1 kB / 18.21 MB, free: 5.68 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.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2266/0.2266, allocations: 38.04 MB / 310.7 MB, free: 5.91 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.0005553/0.0005554, allocations: 12 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.00736/0.2993, allocations: 8.837 MB / 443 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00804/0.3073, allocations: 5.968 MB / 448.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.3086, allocations: 51.62 kB / 449 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007399/0.316, allocations: 4.742 MB / 453.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.3184, allocations: 0.7978 MB / 454.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3196, allocations: 451.2 kB / 455 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.3237, allocations: 3.755 MB / 458.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.3253, allocations: 0.9033 MB / 459.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3264, allocations: 0.6222 MB / 460.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3279, allocations: 1.063 MB / 461.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.328, allocations: 52 kB / 461.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.3288, allocations: 331.5 kB / 461.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.3294, allocations: 0.6078 MB / 462.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007307/0.3301, allocations: 0.6467 MB / 462.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.3312, allocations: 1.29 MB / 464.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.3313, allocations: 7.984 kB / 464.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3313, allocations: 0 / 464.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3313, allocations: 0 / 464.2 MB, free: 4.43 MB / 334.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.002577/0.3339, allocations: 1.351 MB / 465.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3339, allocations: 8.031 kB / 465.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3351, allocations: 219.1 kB / 465.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.3367, allocations: 0.9256 MB / 466.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.3367, allocations: 73.97 kB / 466.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/0.3372, allocations: 183.7 kB / 467 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.3395, allocations: 1.571 MB / 468.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.3395, allocations: 7.922 kB / 468.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3397, allocations: 39.98 kB / 468.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005916/0.3402, allocations: 149.9 kB / 468.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.3423, allocations: 1.261 MB / 470 MB, free: 14.46 MB / 350.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.008406/0.3507, allocations: 6.505 MB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3523, allocations: 0.9165 MB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008206/0.3532, allocations: 0.5122 MB / 478 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.837e-05/0.3533, allocations: 16.97 kB / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3533, allocations: 47.56 kB / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.677e-06/0.3533, allocations: 0 / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=96): time 0.006732/0.3601, allocations: 3.702 MB / 481.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3601, allocations: 90.05 kB / 481.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.361, allocations: 0.7272 MB / 482.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.3611, allocations: 45.7 kB / 482.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.3616, allocations: 0.5612 MB / 483.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.3619, allocations: 358.8 kB / 483.5 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.362, allocations: 121.7 kB / 483.6 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.3623, allocations: 414.7 kB / 484 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009094/0.3632, allocations: 0.5686 MB / 484.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.3644, allocations: 0.8931 MB / 485.5 MB, free: 14.26 MB / 366.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.008141/0.3725, allocations: 3.259 MB / 488.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3725, allocations: 4 kB / 488.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005718/0.3783, allocations: 2.741 MB / 491.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3783, allocations: 11.94 kB / 491.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.3783, allocations: 12 kB / 491.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.3811, allocations: 1.159 MB / 492.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.3819, allocations: 203.7 kB / 492.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.399, allocations: 11.23 MB / 0.4923 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.4, allocations: 55.95 kB / 0.4923 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4001, allocations: 59.92 kB / 0.4924 GB, free: 11.11 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: $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.0007356/0.4008, allocations: 401.3 kB / 0.4928 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.401, allocations: 102.8 kB / 0.4929 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.4033, allocations: 1.419 MB / 0.4943 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4033, allocations: 8 kB / 0.4943 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4033, allocations: 0 / 0.4943 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4033, allocations: 7.922 kB / 0.4943 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.4079, allocations: 2.687 MB / 0.4969 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4079, allocations: 4 kB / 0.4969 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.4093, allocations: 275.7 kB / 0.4972 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.4095, allocations: 53.91 kB / 0.4972 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.4096, allocations: 47.97 kB / 0.4973 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.4117, allocations: 2.638 MB / 0.4998 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4117, allocations: 4 kB / 0.4998 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.4144, allocations: 1.91 MB / 0.5017 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/0.4149, allocations: 259.8 kB / 0.5019 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.415, allocations: 35.98 kB / 0.502 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.4156, allocations: 47.95 kB / 0.502 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4157, allocations: 60.86 kB / 0.5021 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.4158, allocations: 31.98 kB / 0.5021 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006829/0.4165, allocations: 499 kB / 0.5026 GB, free: 104 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4165, allocations: 0 / 0.5026 GB, free: 104 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001397/0.4179, allocations: 376.1 kB / 0.503 GB, free: 15.73 MB / 398.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.0002174/0.4181, allocations: 143 kB / 0.5031 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003629/0.4218, allocations: 2.069 MB / 0.5051 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4218, allocations: 0 / 0.5051 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.4228, allocations: 0.7686 MB / 0.5059 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.424, allocations: 223.2 kB / 0.5061 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.4307, allocations: 5.052 MB / 0.511 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009709/0.4317, allocations: 1.298 MB / 0.5123 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.432, allocations: 87.36 kB / 0.5124 GB, free: 5.949 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.432, allocations: 0 / 0.5124 GB, free: 5.949 MB / 398.1 MB Notification: Performance of Templates: time 0.2719/0.704, allocations: 23.72 MB / 0.5355 GB, free: 78.12 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IGCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o] Error 1