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.0008558/0.0008559, allocations: 90.39 kB / 16.95 MB, free: 5.953 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.0008236/0.0008239, allocations: 181.8 kB / 17.84 MB, free: 5.613 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.362/1.362, allocations: 223.2 MB / 241.9 MB, free: 14.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.186/0.186, allocations: 38.1 MB / 331.1 MB, free: 8.609 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 12 kB / 400.7 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 59.17 MB / 459.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009181/0.1352, allocations: 8.087 MB / 468 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008616/0.1438, allocations: 5.462 MB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.145, allocations: 55.56 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.1551, allocations: 4.542 MB / 478 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.1579, allocations: 0.6726 MB / 478.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1594, allocations: 391.3 kB / 479.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003929/0.1634, allocations: 2.471 MB / 481.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.1653, allocations: 1.143 MB / 482.7 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1663, allocations: 0.5173 MB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.1674, allocations: 0.6852 MB / 483.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1675, allocations: 52 kB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006734/0.1682, allocations: 291.6 kB / 484.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.1686, allocations: 422.9 kB / 484.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.1689, allocations: 237.1 kB / 484.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.1703, allocations: 1.348 MB / 486.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1703, allocations: 0 / 486.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1703, allocations: 0 / 486.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.1704, allocations: 0 / 486.2 MB, free: 12.91 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.002582/0.173, allocations: 1.23 MB / 487.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.173, allocations: 12.03 kB / 487.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.1737, allocations: 150.6 kB / 487.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.1753, allocations: 0.9057 MB / 488.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.1754, allocations: 65.98 kB / 488.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.1756, allocations: 99.78 kB / 488.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.1773, allocations: 1.067 MB / 489.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1773, allocations: 3.906 kB / 489.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.1774, allocations: 32 kB / 489.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.1776, allocations: 73.95 kB / 489.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.1789, allocations: 0.8275 MB / 490.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00516/0.1841, allocations: 4.02 MB / 494.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/0.1851, allocations: 0.6143 MB / 495.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.1855, allocations: 313.8 kB / 495.6 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.1856, allocations: 8.562 kB / 495.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.1856, allocations: 47.02 kB / 495.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/0.1857, allocations: 0 / 495.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004488/0.1901, allocations: 2.59 MB / 498.3 MB, free: 416 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.1902, allocations: 111.7 kB / 498.4 MB, free: 280 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.1911, allocations: 0.6956 MB / 499.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.1912, allocations: 37.7 kB / 499.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.1915, allocations: 479.1 kB / 499.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.1917, allocations: 236.6 kB / 499.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1917, allocations: 20.03 kB / 499.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1919, allocations: 390.8 kB / 0.4885 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.1924, allocations: 309.8 kB / 0.4888 GB, free: 14.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.193, allocations: 0.511 MB / 0.4893 GB, free: 13.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.1955, allocations: 0.9129 MB / 0.4902 GB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1956, allocations: 0 / 0.4902 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002154/0.1977, allocations: 1.271 MB / 0.4914 GB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1978, allocations: 8 kB / 0.4914 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1978, allocations: 8 kB / 0.4914 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009928/0.1988, allocations: 409.5 kB / 0.4918 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.1995, allocations: 147.8 kB / 0.492 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.2072, allocations: 5.733 MB / 0.4976 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.2078, allocations: 35.94 kB / 0.4976 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.2079, allocations: 31.98 kB / 0.4976 GB, free: 4.641 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.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.0005843/0.2085, allocations: 355.4 kB / 0.498 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2086, allocations: 82.97 kB / 0.498 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.2101, allocations: 0.8917 MB / 0.4989 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2101, allocations: 8 kB / 0.4989 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2101, allocations: 4 kB / 0.4989 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2102, allocations: 3.984 kB / 0.4989 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.2131, allocations: 2.009 MB / 0.5009 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2132, allocations: 4 kB / 0.5009 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.2137, allocations: 119.8 kB / 0.501 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/0.2142, allocations: 186.5 kB / 0.5012 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.2143, allocations: 23.98 kB / 0.5012 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2521/0.4664, allocations: 4.987 MB / 0.5061 GB, free: 51.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.4664, allocations: 6.172 kB / 0.5061 GB, free: 51.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.4685, allocations: 1.262 MB / 0.5073 GB, free: 51.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.4688, allocations: 209.6 kB / 0.5075 GB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.4689, allocations: 23.19 kB / 0.5075 GB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.4692, allocations: 15.64 kB / 0.5075 GB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4693, allocations: 52.97 kB / 0.5076 GB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.4694, allocations: 24.67 kB / 0.5076 GB, free: 51.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006678/0.47, allocations: 493.7 kB / 0.5081 GB, free: 51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.47, allocations: 0 / 0.5081 GB, free: 51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000987/0.471, allocations: 246.8 kB / 0.5083 GB, free: 51 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 (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.0008917/0.4719, allocations: 421.5 kB / 0.5087 GB, free: 50.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.4739, allocations: 1.133 MB / 0.5098 GB, free: 50.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4739, allocations: 2.688 kB / 0.5098 GB, free: 50.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000908/0.4748, allocations: 0.7095 MB / 0.5105 GB, free: 50.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008612/0.4757, allocations: 175.5 kB / 0.5107 GB, free: 49.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.4798, allocations: 3.093 MB / 0.5137 GB, free: 48.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.4805, allocations: 1.142 MB / 0.5148 GB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4807, allocations: 62.06 kB / 0.5149 GB, free: 47.37 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4807, allocations: 0 / 0.5149 GB, free: 47.37 MB / 382.1 MB Notification: Performance of Templates: time 0.0257/0.5064, allocations: 22.5 MB / 0.5369 GB, free: 34.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++ 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/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/c/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