Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_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.001026/0.001026, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001088/0.001088, 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 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.04 MB / 329.9 MB, free: 9.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 61 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1037, allocations: 58.05 MB / 456.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009911/0.1136, allocations: 9.055 MB / 465.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009428/0.1231, allocations: 6.002 MB / 471.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.1242, allocations: 55.62 kB / 471.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00922/0.1334, allocations: 5.081 MB / 477 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.135, allocations: 0.5953 MB / 477.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009967/0.136, allocations: 408.9 kB / 478 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.139, allocations: 2.931 MB / 480.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.1402, allocations: 0.9605 MB / 481.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1413, allocations: 0.5329 MB / 482.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1424, allocations: 0.7474 MB / 483.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1425, allocations: 64 kB / 483.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008284/0.1434, allocations: 355.5 kB / 483.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.1439, allocations: 458.8 kB / 484 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.1445, allocations: 0.5403 MB / 484.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1459, allocations: 1.388 MB / 485.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1459, allocations: 0 / 485.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1459, allocations: 0 / 485.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1459, allocations: 0 / 485.9 MB, free: 11.27 MB / 366.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.00258/0.1485, allocations: 1.423 MB / 487.4 MB, free: 9.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1485, allocations: 12.03 kB / 487.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.1492, allocations: 163.4 kB / 487.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.1507, allocations: 0.9367 MB / 488.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.1508, allocations: 62 kB / 488.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.1509, allocations: 87.89 kB / 488.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1525, allocations: 1.063 MB / 489.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.1525, allocations: 4 kB / 489.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.1526, allocations: 35.98 kB / 489.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000215/0.1528, allocations: 77.89 kB / 489.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.154, allocations: 0.8314 MB / 490.6 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.1595, allocations: 4.012 MB / 494.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.1606, allocations: 0.6181 MB / 495.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.1611, allocations: 325.7 kB / 495.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.1612, allocations: 12.55 kB / 495.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.1612, allocations: 39.12 kB / 495.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 4.057e-06/0.1613, allocations: 0 / 495.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004829/0.1661, allocations: 2.575 MB / 498.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1662, allocations: 111.4 kB / 498.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.167, allocations: 0.7034 MB / 499 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.1671, allocations: 41.73 kB / 499.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.1674, allocations: 475.1 kB / 499.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.1676, allocations: 240.6 kB / 499.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1678, allocations: 150.5 kB / 499.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.168, allocations: 398.7 kB / 0.4886 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.1684, allocations: 301.8 kB / 0.4889 GB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.169, allocations: 0.515 MB / 0.4894 GB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/0.1726, allocations: 1.672 MB / 0.491 GB, free: 9.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1727, allocations: 4 kB / 0.491 GB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002135/0.1748, allocations: 1.267 MB / 0.4922 GB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1748, allocations: 11.94 kB / 0.4922 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1749, allocations: 12 kB / 0.4923 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.1759, allocations: 409.5 kB / 0.4926 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.1764, allocations: 151.7 kB / 0.4928 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/0.1831, allocations: 5.714 MB / 0.4984 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.1837, allocations: 31.89 kB / 0.4984 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.1838, allocations: 36 kB / 0.4984 GB, free: 1.773 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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.0005817/0.1844, allocations: 355.5 kB / 0.4988 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.1845, allocations: 83.14 kB / 0.4988 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.1861, allocations: 0.8878 MB / 0.4997 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.1861, allocations: 11.94 kB / 0.4997 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1861, allocations: 8 kB / 0.4997 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1861, allocations: 3.984 kB / 0.4997 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.1892, allocations: 2.005 MB / 0.5017 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1892, allocations: 160 / 0.5017 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.1898, allocations: 123.9 kB / 0.5018 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/0.1903, allocations: 182.4 kB / 0.502 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.1904, allocations: 31.92 kB / 0.502 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.1943, allocations: 5.012 MB / 0.5069 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.1944, allocations: 7.969 kB / 0.5069 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.1962, allocations: 1.262 MB / 0.5082 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.1965, allocations: 204.1 kB / 0.5083 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1967, allocations: 23.94 kB / 0.5084 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.197, allocations: 15.98 kB / 0.5084 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1971, allocations: 52.44 kB / 0.5084 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.1972, allocations: 19.98 kB / 0.5085 GB, free: 6.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006114/0.1978, allocations: 0.4912 MB / 0.5089 GB, free: 6.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1978, allocations: 0 / 0.5089 GB, free: 6.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001007/0.1988, allocations: 256 kB / 0.5092 GB, free: 6.156 MB / 398.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.0009245/0.1997, allocations: 414.3 kB / 0.5096 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.2016, allocations: 1.13 MB / 0.5107 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2016, allocations: 0 / 0.5107 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.2025, allocations: 0.7113 MB / 0.5114 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.2034, allocations: 196.5 kB / 0.5116 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.2075, allocations: 2.962 MB / 0.5145 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2116/0.4191, allocations: 1.137 MB / 0.5156 GB, free: 69.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.4195, allocations: 64.17 kB / 0.5156 GB, free: 69.04 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4195, allocations: 0.5312 kB / 0.5156 GB, free: 69.04 MB / 398.1 MB Notification: Performance of Templates: time 0.03686/0.4564, allocations: 22.6 MB / 0.5377 GB, free: 60.92 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile make -j1 -f PowerSystems_latest_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLineCalcHelperMain.o] Error 1