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.0008989/0.000899, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0009859/0.000986, 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 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1549/0.1549, allocations: 37.99 MB / 309.3 MB, free: 6.238 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.001162/0.001162, allocations: 67.45 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 55.24 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.006613/0.1942, allocations: 9.062 MB / 439.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006462/0.2007, allocations: 5.937 MB / 445.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.2012, allocations: 59.62 kB / 445.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006902/0.2082, allocations: 5.089 MB / 450.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.2094, allocations: 0.5914 MB / 451.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008737/0.2103, allocations: 394.3 kB / 451.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.2129, allocations: 2.939 MB / 454.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.214, allocations: 0.9605 MB / 455.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.2146, allocations: 0.5251 MB / 456.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008241/0.2154, allocations: 0.7591 MB / 456.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.2155, allocations: 64 kB / 456.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.2161, allocations: 355.5 kB / 457.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.2166, allocations: 446.8 kB / 457.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.2171, allocations: 0.5441 MB / 458.2 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.2182, allocations: 1.388 MB / 459.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2182, allocations: 4 kB / 459.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2182, allocations: 0 / 459.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2182, allocations: 0 / 459.6 MB, free: 6.609 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.002312/0.2205, allocations: 1.417 MB / 461 MB, free: 5.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2206, allocations: 12.03 kB / 461 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006381/0.2212, allocations: 147.6 kB / 461.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.2227, allocations: 0.9483 MB / 462.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.2227, allocations: 57.98 kB / 462.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.2229, allocations: 95.89 kB / 462.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2243, allocations: 1.067 MB / 463.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.2244, allocations: 0 / 463.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.2244, allocations: 35.98 kB / 463.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.2246, allocations: 69.95 kB / 463.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.2258, allocations: 0.8353 MB / 464.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/0.2304, allocations: 4.008 MB / 468.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.2313, allocations: 0.6253 MB / 468.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.2317, allocations: 323.2 kB / 469.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.2318, allocations: 4.562 kB / 469.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.2318, allocations: 47.11 kB / 469.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 1.633e-06/0.2318, allocations: 0 / 469.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004038/0.2359, allocations: 2.594 MB / 471.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.2359, allocations: 111.3 kB / 472 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.2366, allocations: 0.6959 MB / 472.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.2367, allocations: 41.7 kB / 472.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.237, allocations: 487.1 kB / 473.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2371, allocations: 228.7 kB / 473.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.2373, allocations: 154.6 kB / 473.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2375, allocations: 386.8 kB / 473.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.2379, allocations: 309.8 kB / 474.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.2385, allocations: 0.5188 MB / 474.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.2419, allocations: 1.668 MB / 476.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2419, allocations: 0 / 476.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001988/0.2439, allocations: 1.278 MB / 477.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2439, allocations: 11.94 kB / 477.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2439, allocations: 4 kB / 477.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.2449, allocations: 405.6 kB / 478.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.2454, allocations: 143.8 kB / 478.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/0.2521, allocations: 5.738 MB / 484 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.2525, allocations: 31.98 kB / 484 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.2526, allocations: 28 kB / 484.1 MB, free: 13.1 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 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.0004709/0.2531, allocations: 365.5 kB / 484.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2532, allocations: 82.97 kB / 484.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.2547, allocations: 0.8879 MB / 485.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2547, allocations: 15.88 kB / 485.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2547, allocations: 4 kB / 485.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2547, allocations: 3.984 kB / 485.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.2575, allocations: 1.998 MB / 487.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2575, allocations: 8.156 kB / 487.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.2581, allocations: 119.8 kB / 487.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/0.2586, allocations: 182.3 kB / 487.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.2587, allocations: 23.98 kB / 487.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/0.2626, allocations: 5.008 MB / 492.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2626, allocations: 0 / 492.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2643, allocations: 1.27 MB / 494 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.2645, allocations: 204 kB / 494.2 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.2646, allocations: 27.92 kB / 494.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.265, allocations: 19.94 kB / 494.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.2651, allocations: 44.48 kB / 494.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.2651, allocations: 24.19 kB / 494.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005351/0.2656, allocations: 0.4912 MB / 494.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2657, allocations: 0 / 494.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008791/0.2665, allocations: 244 kB / 495.1 MB, free: 1.5 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.0008447/0.2674, allocations: 421.2 kB / 495.5 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.2691, allocations: 1.13 MB / 496.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2691, allocations: 4 kB / 496.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008586/0.27, allocations: 0.7073 MB / 497.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.2708, allocations: 178.9 kB / 497.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.2744, allocations: 2.977 MB / 0.4887 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.2751, allocations: 1.153 MB / 0.4899 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.2753, allocations: 63.42 kB / 0.4899 GB, free: 10.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2753, allocations: 0 / 0.4899 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02091/0.2962, allocations: 22.57 MB / 0.512 GB, free: 4.164 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