Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009528, allocations: 92.14 kB / 16.95 MB, free: 5.625 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.001342/0.001342, allocations: 188.7 kB / 17.85 MB, free: 5.293 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.648/1.648, allocations: 205.4 MB / 224 MB, free: 12.94 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1716/0.1716, allocations: 38.05 MB / 310.3 MB, free: 5.992 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.0005033/0.0005034, allocations: 16 kB / 377.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3012, allocations: 56.33 MB / 433.5 MB, free: 18.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007191/0.3084, allocations: 8.094 MB / 441.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.3164, allocations: 5.411 MB / 447 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.3178, allocations: 55.62 kB / 447 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007783/0.3256, allocations: 4.546 MB / 451.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3276, allocations: 0.6687 MB / 452.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3289, allocations: 390 kB / 452.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.3321, allocations: 2.471 MB / 455.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.334, allocations: 1.143 MB / 456.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.335, allocations: 0.5096 MB / 456.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.336, allocations: 0.6891 MB / 457.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.924e-05/0.3361, allocations: 52 kB / 457.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006797/0.3368, allocations: 283.6 kB / 457.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004035/0.3372, allocations: 438.8 kB / 458.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3375, allocations: 233.1 kB / 458.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3388, allocations: 1.352 MB / 459.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3388, allocations: 0 / 459.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3388, allocations: 4 kB / 459.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3388, allocations: 0 / 459.8 MB, free: 8.379 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002415/0.3412, allocations: 1.226 MB / 461 MB, free: 7.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3413, allocations: 8.031 kB / 461 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006884/0.342, allocations: 158.5 kB / 461.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3436, allocations: 0.9058 MB / 462.1 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/0.3437, allocations: 61.98 kB / 462.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.3439, allocations: 87.89 kB / 462.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.3455, allocations: 1.063 MB / 463.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.3455, allocations: 11.94 kB / 463.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.3456, allocations: 31.95 kB / 463.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00019/0.3458, allocations: 69.95 kB / 463.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3471, allocations: 0.8314 MB / 464.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.3524, allocations: 4.02 MB / 468.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3534, allocations: 0.6364 MB / 468.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.3538, allocations: 307.7 kB / 469.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.3539, allocations: 4.562 kB / 469.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3539, allocations: 43.12 kB / 469.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.905e-06/0.3539, allocations: 0 / 469.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004515/0.3585, allocations: 2.59 MB / 471.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.3586, allocations: 115.3 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/0.3594, allocations: 0.6883 MB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.3595, allocations: 41.7 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.3599, allocations: 483.1 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.3601, allocations: 244.5 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.3601, allocations: 16 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3603, allocations: 394.7 kB / 473.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.3608, allocations: 305.8 kB / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006305/0.3614, allocations: 0.511 MB / 474.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.364, allocations: 0.9168 MB / 475.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.364, allocations: 8 kB / 475.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002077/0.3661, allocations: 1.255 MB / 476.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3661, allocations: 4.312 kB / 476.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3661, allocations: 15.98 kB / 476.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3671, allocations: 401.3 kB / 477.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.3677, allocations: 155.8 kB / 477.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.3747, allocations: 5.719 MB / 483.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.3754, allocations: 31.94 kB / 483.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.3754, allocations: 32 kB / 483.1 MB, free: 104 kB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.gear.w = $DER.windGen.WT.genRotor.w. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * 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 initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006411/0.3761, allocations: 361.5 kB / 483.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3762, allocations: 82.97 kB / 483.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.3778, allocations: 0.8996 MB / 484.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3778, allocations: 11.98 kB / 484.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3778, allocations: 0 / 484.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3778, allocations: 7.984 kB / 484.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.3808, allocations: 2.005 MB / 486.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3809, allocations: 0 / 486.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.3814, allocations: 116 kB / 486.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/0.3819, allocations: 198.2 kB / 486.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.382, allocations: 23.98 kB / 486.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.3861, allocations: 4.988 MB / 491.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3861, allocations: 0 / 491.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.388, allocations: 1.274 MB / 493.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.3883, allocations: 208 kB / 493.3 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.3884, allocations: 23.95 kB / 493.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.3887, allocations: 19.98 kB / 493.3 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.3888, allocations: 44.44 kB / 493.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.3888, allocations: 24.17 kB / 493.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006512/0.3895, allocations: 499 kB / 493.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3895, allocations: 0 / 493.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3906, allocations: 252 kB / 494.1 MB, free: 4.492 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009489/0.3915, allocations: 408.3 kB / 494.5 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.3934, allocations: 1.138 MB / 495.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3935, allocations: 0 / 495.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.3943, allocations: 0.7145 MB / 496.4 MB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/0.3952, allocations: 170.9 kB / 496.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.3992, allocations: 3.108 MB / 499.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.4001, allocations: 1.138 MB / 0.489 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.4003, allocations: 63.42 kB / 0.4891 GB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4003, allocations: 0 / 0.4891 GB, free: 13.67 MB / 382.1 MB Notification: Performance of Templates: time 0.0266/0.4269, allocations: 22.47 MB / 0.511 GB, free: 7.16 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLineCalcHelperMain.o] Error 1