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.0008789/0.0008791, allocations: 93.39 kB / 17.31 MB, free: 6.535 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.0008543/0.0008546, allocations: 179 kB / 18.21 MB, free: 5.684 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.547/1.547, allocations: 223.3 MB / 242.2 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1917/0.1917, allocations: 38.09 MB / 331.5 MB, free: 8.551 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 8.281 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 59.17 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01026/0.1504, allocations: 8.58 MB / 469.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1615, allocations: 5.895 MB / 475 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.1634, allocations: 51.69 kB / 475.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.1737, allocations: 4.73 MB / 479.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.1759, allocations: 0.5837 MB / 480.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1774, allocations: 406.5 kB / 480.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.1813, allocations: 2.951 MB / 483.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.1833, allocations: 1.257 MB / 485 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.1844, allocations: 0.4978 MB / 485.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1855, allocations: 0.7084 MB / 486.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1856, allocations: 55.94 kB / 486.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.1864, allocations: 327.6 kB / 486.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004423/0.1868, allocations: 438.7 kB / 487 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005818/0.1874, allocations: 0.5419 MB / 487.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1888, allocations: 1.348 MB / 488.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1888, allocations: 4 kB / 488.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1888, allocations: 0 / 488.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1888, allocations: 0 / 488.9 MB, free: 10.57 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.002485/0.1913, allocations: 1.21 MB / 490.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1914, allocations: 12.03 kB / 490.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.1921, allocations: 155.5 kB / 490.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.1938, allocations: 0.9443 MB / 491.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.1939, allocations: 58 kB / 491.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.1941, allocations: 91.88 kB / 491.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.1957, allocations: 1.063 MB / 492.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.1958, allocations: 7.938 kB / 492.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.1958, allocations: 35.98 kB / 492.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.1961, allocations: 69.95 kB / 492.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1974, allocations: 0.8431 MB / 493.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/0.2035, allocations: 4.012 MB / 497.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2046, allocations: 0.6181 MB / 498 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.2051, allocations: 321.1 kB / 498.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.2052, allocations: 16.55 kB / 498.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.2052, allocations: 47.05 kB / 498.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.564e-06/0.2052, allocations: 0 / 498.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004819/0.21, allocations: 2.586 MB / 0.4892 GB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.2101, allocations: 111.4 kB / 0.4893 GB, free: 13.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/0.2111, allocations: 0.6998 MB / 0.49 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.2111, allocations: 37.7 kB / 0.49 GB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.2115, allocations: 487 kB / 0.4905 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.2117, allocations: 236.6 kB / 0.4907 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2118, allocations: 73.67 kB / 0.4908 GB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.212, allocations: 394.8 kB / 0.4912 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.2125, allocations: 305.8 kB / 0.4915 GB, free: 11.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.2131, allocations: 0.5228 MB / 0.492 GB, free: 11.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.217, allocations: 1.679 MB / 0.4936 GB, free: 9.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.217, allocations: 4 kB / 0.4936 GB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00237/0.2194, allocations: 1.274 MB / 0.4949 GB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2194, allocations: 8 kB / 0.4949 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2195, allocations: 8 kB / 0.4949 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.2206, allocations: 409.5 kB / 0.4953 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.2211, allocations: 144.1 kB / 0.4954 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.2284, allocations: 5.728 MB / 0.501 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/0.2292, allocations: 35.92 kB / 0.501 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.2292, allocations: 36 kB / 0.5011 GB, free: 1.316 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 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.000714/0.23, allocations: 369.5 kB / 0.5014 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2301, allocations: 78.97 kB / 0.5015 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.329/0.5592, allocations: 0.878 MB / 0.5024 GB, free: 55.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.5592, allocations: 13.36 kB / 0.5024 GB, free: 55.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.5592, allocations: 2.562 kB / 0.5024 GB, free: 55.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/0.5593, allocations: 3.047 kB / 0.5024 GB, free: 55.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.5639, allocations: 2.004 MB / 0.5043 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5639, allocations: 2.203 kB / 0.5043 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.5646, allocations: 117.2 kB / 0.5044 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/0.5653, allocations: 189.1 kB / 0.5046 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.5654, allocations: 23.22 kB / 0.5046 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/0.5696, allocations: 5.004 MB / 0.5095 GB, free: 51.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5696, allocations: 3.469 kB / 0.5095 GB, free: 51.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.5722, allocations: 1.264 MB / 0.5108 GB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.5727, allocations: 216.7 kB / 0.511 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5728, allocations: 25.77 kB / 0.511 GB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.5732, allocations: 16.53 kB / 0.511 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.5734, allocations: 50.42 kB / 0.5111 GB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.5734, allocations: 19.55 kB / 0.5111 GB, free: 50.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008741/0.5743, allocations: 0.4893 MB / 0.5116 GB, free: 50.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.51e-07/0.5743, allocations: 0 / 0.5116 GB, free: 50.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001246/0.5756, allocations: 247.8 kB / 0.5118 GB, free: 50.05 MB / 382.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.001093/0.5767, allocations: 427.4 kB / 0.5122 GB, free: 49.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.579, allocations: 1.13 MB / 0.5133 GB, free: 49.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.579, allocations: 0 / 0.5133 GB, free: 49.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.58, allocations: 0.7181 MB / 0.514 GB, free: 48.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5813, allocations: 177.4 kB / 0.5142 GB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.5863, allocations: 3.169 MB / 0.5173 GB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.5875, allocations: 1.138 MB / 0.5184 GB, free: 46.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.5878, allocations: 64.19 kB / 0.5184 GB, free: 46.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5878, allocations: 4 kB / 0.5185 GB, free: 46.13 MB / 382.1 MB Notification: Performance of Templates: time 0.0347/0.6226, allocations: 22.49 MB / 0.5404 GB, free: 31.64 MB / 382.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