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.0008846/0.0008846, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.00136/0.00136, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.784/1.784, allocations: 205.4 MB / 224.4 MB, free: 12.98 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1888/0.1888, allocations: 38.05 MB / 310.7 MB, free: 5.895 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.0007622/0.0007622, allocations: 12 kB / 377.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3227, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008799/0.3316, allocations: 8.583 MB / 442.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009799/0.3414, allocations: 5.836 MB / 448.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.3435, allocations: 55.62 kB / 448.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008238/0.3518, allocations: 4.758 MB / 453.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.3539, allocations: 0.5875 MB / 454 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.3552, allocations: 398.3 kB / 454.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.3593, allocations: 2.924 MB / 457.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.3619, allocations: 1.253 MB / 458.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.3633, allocations: 0.4978 MB / 459 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.3648, allocations: 0.7122 MB / 459.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.3651, allocations: 48 kB / 459.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.3665, allocations: 339.5 kB / 460.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009295/0.3674, allocations: 438.8 kB / 460.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008248/0.3683, allocations: 0.5419 MB / 461.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3698, allocations: 1.352 MB / 462.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3699, allocations: 0 / 462.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3699, allocations: 0 / 462.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3699, allocations: 0 / 462.4 MB, free: 6.238 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.002554/0.3724, allocations: 1.207 MB / 463.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3725, allocations: 12.03 kB / 463.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.3732, allocations: 151.5 kB / 463.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.375, allocations: 0.9365 MB / 464.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.3751, allocations: 65.98 kB / 464.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.3753, allocations: 91.89 kB / 464.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.377, allocations: 1.071 MB / 466 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.377, allocations: 3.906 kB / 466 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.3771, allocations: 39.92 kB / 466 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.3773, allocations: 73.95 kB / 466.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3786, allocations: 0.8392 MB / 466.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.384, allocations: 4.012 MB / 470.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.385, allocations: 0.629 MB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.3855, allocations: 319.2 kB / 471.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.3855, allocations: 8.562 kB / 471.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3856, allocations: 47.05 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.3856, allocations: 0 / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004601/0.3902, allocations: 2.59 MB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.3903, allocations: 111.4 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.3912, allocations: 0.6956 MB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.3912, allocations: 37.7 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.3916, allocations: 487.1 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.3918, allocations: 228.7 kB / 476.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.3919, allocations: 81.7 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3921, allocations: 394.7 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.3925, allocations: 302.2 kB / 476.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.3931, allocations: 0.5149 MB / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.3968, allocations: 1.676 MB / 479 MB, free: 4.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3968, allocations: 3.938 kB / 479 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002184/0.399, allocations: 1.271 MB / 480.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3991, allocations: 12.06 kB / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3991, allocations: 8 kB / 480.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.4001, allocations: 405.3 kB / 480.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.4006, allocations: 147.8 kB / 480.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/0.4077, allocations: 5.749 MB / 486.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.4084, allocations: 27.91 kB / 486.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.4085, allocations: 39.98 kB / 486.7 MB, free: 12.97 MB / 366.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.turbine.w = 0.0. 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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006471/0.4091, allocations: 353.4 kB / 487 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4093, allocations: 83.06 kB / 487.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4108, allocations: 0.8916 MB / 488 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.4109, allocations: 11.94 kB / 488 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4109, allocations: 4 kB / 488 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4109, allocations: 3.984 kB / 488 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.414, allocations: 2.005 MB / 490 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.414, allocations: 4 kB / 490 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.4146, allocations: 116 kB / 490.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/0.4151, allocations: 194.3 kB / 490.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.4152, allocations: 23.94 kB / 490.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/0.4196, allocations: 5.012 MB / 495.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4197, allocations: 0 / 495.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4216, allocations: 1.274 MB / 496.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.422, allocations: 204.1 kB / 496.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4222, allocations: 27.94 kB / 496.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.4225, allocations: 19.98 kB / 496.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.4227, allocations: 44.44 kB / 496.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.4227, allocations: 23.98 kB / 496.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000739/0.4235, allocations: 0.4912 MB / 497.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4235, allocations: 0 / 497.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001139/0.4246, allocations: 248 kB / 497.7 MB, free: 1.355 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009829/0.4256, allocations: 406 kB / 498.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.4279, allocations: 1.138 MB / 499.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4279, allocations: 0 / 499.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.4289, allocations: 0.7149 MB / 499.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.43, allocations: 175.1 kB / 0.4884 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005012/0.4351, allocations: 3.183 MB / 0.4915 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.4362, allocations: 1.146 MB / 0.4926 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.4365, allocations: 63.41 kB / 0.4927 GB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4365, allocations: 0 / 0.4927 GB, free: 10.45 MB / 382.1 MB Notification: Performance of Templates: time 0.03358/0.4701, allocations: 22.47 MB / 0.5146 GB, free: 3.941 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++ -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.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