Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 108.3 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.001083/0.001083, 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.315/1.315, 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.1707/0.1707, allocations: 38.04 MB / 329.9 MB, free: 9.09 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 58.97 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1087, allocations: 58.07 MB / 456.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.00964/0.1184, allocations: 9.318 MB / 466.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.1273, allocations: 6.03 MB / 472.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.1283, allocations: 55.62 kB / 472.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008855/0.1371, allocations: 5.127 MB / 477.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.139, allocations: 0.79 MB / 478.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1401, allocations: 451.3 kB / 478.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.1437, allocations: 3.759 MB / 482.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007922/0.1445, allocations: 0.5791 MB / 482.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.1453, allocations: 0.6457 MB / 483.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.1465, allocations: 1.09 MB / 484.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.1467, allocations: 68 kB / 484.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006442/0.1473, allocations: 343.5 kB / 485 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005033/0.1479, allocations: 0.6311 MB / 485.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.1484, allocations: 0.6412 MB / 486.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1495, allocations: 1.314 MB / 487.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1496, allocations: 0 / 487.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1496, allocations: 0 / 487.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1496, allocations: 0 / 487.6 MB, free: 9.613 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002839/0.1524, allocations: 1.589 MB / 489.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1525, allocations: 12.02 kB / 489.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.1536, allocations: 215.1 kB / 489.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.1552, allocations: 0.9295 MB / 490.4 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.1553, allocations: 69.98 kB / 490.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.1557, allocations: 179.8 kB / 490.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.158, allocations: 1.556 MB / 492.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.158, allocations: 15.94 kB / 492.2 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.1581, allocations: 39.98 kB / 492.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000561/0.1587, allocations: 153.9 kB / 492.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.1608, allocations: 1.253 MB / 493.6 MB, free: 3.426 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008511/0.1693, allocations: 6.497 MB / 0.4884 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.1709, allocations: 0.9011 MB / 0.4893 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.1717, allocations: 0.5199 MB / 0.4898 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.1717, allocations: 16.97 kB / 0.4898 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1718, allocations: 47.5 kB / 0.4898 GB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.905e-06/0.1718, allocations: 0 / 0.4898 GB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00686/0.1787, allocations: 3.659 MB / 0.4934 GB, free: 7.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.1787, allocations: 97.98 kB / 0.4935 GB, free: 7.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.1796, allocations: 0.7273 MB / 0.4942 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.1797, allocations: 41.7 kB / 0.4942 GB, free: 6.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.1802, allocations: 0.5535 MB / 0.4948 GB, free: 5.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.1805, allocations: 362.8 kB / 0.4951 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/0.1809, allocations: 238.8 kB / 0.4954 GB, free: 5.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.1812, allocations: 414.7 kB / 0.4958 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.1821, allocations: 0.5647 MB / 0.4963 GB, free: 4.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.1833, allocations: 0.8815 MB / 0.4972 GB, free: 3.172 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/0.1918, allocations: 3.244 MB / 0.5003 GB, free: 15.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.1919, allocations: 0 / 0.5003 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005551/0.1974, allocations: 2.732 MB / 0.503 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.1975, allocations: 11.94 kB / 0.503 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.1975, allocations: 8 kB / 0.503 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/0.2005, allocations: 1.156 MB / 0.5042 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.2013, allocations: 199.6 kB / 0.5043 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/0.2176, allocations: 11.22 MB / 0.5153 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/0.2185, allocations: 59.86 kB / 0.5154 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.2186, allocations: 51.98 kB / 0.5154 GB, free: 60 kB / 398.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.2052/0.4238, allocations: 395.2 kB / 0.5158 GB, free: 70.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.4242, allocations: 96.03 kB / 0.5159 GB, free: 70.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.4269, allocations: 1.408 MB / 0.5172 GB, free: 70.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.427, allocations: 14.92 kB / 0.5173 GB, free: 70.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.427, allocations: 1.094 kB / 0.5173 GB, free: 70.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.427, allocations: 9.656 kB / 0.5173 GB, free: 70.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.4316, allocations: 2.664 MB / 0.5199 GB, free: 69.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4316, allocations: 3.203 kB / 0.5199 GB, free: 69.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.4332, allocations: 273.1 kB / 0.5201 GB, free: 69.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.4334, allocations: 55.8 kB / 0.5202 GB, free: 69.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.542e-05/0.4335, allocations: 39.7 kB / 0.5202 GB, free: 69.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.4349, allocations: 2.642 MB / 0.5228 GB, free: 67.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4349, allocations: 1.969 kB / 0.5228 GB, free: 67.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.4378, allocations: 1.892 MB / 0.5247 GB, free: 66.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.4382, allocations: 256.5 kB / 0.5249 GB, free: 66.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.4384, allocations: 38.78 kB / 0.5249 GB, free: 66.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/0.4389, allocations: 41.97 kB / 0.525 GB, free: 66.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.4391, allocations: 64.75 kB / 0.525 GB, free: 66.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.4392, allocations: 35.62 kB / 0.5251 GB, free: 66.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.4399, allocations: 498.3 kB / 0.5256 GB, free: 65.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4399, allocations: 0 / 0.5256 GB, free: 65.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001383/0.4413, allocations: 380.7 kB / 0.5259 GB, free: 65.92 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.4415, allocations: 144.5 kB / 0.5261 GB, free: 65.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004033/0.4455, allocations: 2.075 MB / 0.5281 GB, free: 64.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4455, allocations: 0 / 0.5281 GB, free: 64.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.4467, allocations: 0.7564 MB / 0.5288 GB, free: 64.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.4478, allocations: 198.2 kB / 0.529 GB, free: 64.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.4547, allocations: 4.65 MB / 0.5335 GB, free: 61.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.4558, allocations: 1.3 MB / 0.5348 GB, free: 61.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.4561, allocations: 81.97 kB / 0.5349 GB, free: 61.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4561, allocations: 0 / 0.5349 GB, free: 61.05 MB / 398.1 MB Notification: Performance of Templates: time 0.02809/0.4842, allocations: 23.83 MB / 0.5582 GB, free: 43.52 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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_latest_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o] Error 1