Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009976/0.0009977, allocations: 106.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.0009569/0.0009569, 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.321/1.321, 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.1663/0.1663, allocations: 38.03 MB / 329.9 MB, free: 9.074 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 55.72 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1134, allocations: 58.07 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.0108/0.1243, allocations: 10.45 MB / 467.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.1303, allocations: 3.646 MB / 470.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1317, allocations: 63.62 kB / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.133, allocations: 366 kB / 471.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.135, allocations: 0.7156 MB / 472 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.136, allocations: 430.5 kB / 472.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.1386, allocations: 2.428 MB / 474.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.1399, allocations: 0.8639 MB / 475.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009633/0.1409, allocations: 0.6338 MB / 476.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.1419, allocations: 0.8095 MB / 477.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.142, allocations: 80 kB / 477.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.1426, allocations: 315.5 kB / 477.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.143, allocations: 446.6 kB / 478 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.1437, allocations: 0.6373 MB / 478.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.1451, allocations: 1.547 MB / 480.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1451, allocations: 0 / 480.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1451, allocations: 4 kB / 480.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1452, allocations: 0 / 480.2 MB, free: 1.027 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003114/0.1483, allocations: 1.64 MB / 481.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1483, allocations: 8.031 kB / 481.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006917/0.149, allocations: 187.2 kB / 482 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.1505, allocations: 0.9186 MB / 482.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.1506, allocations: 74.06 kB / 483 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.1509, allocations: 123.9 kB / 483.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.153, allocations: 1.345 MB / 484.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.153, allocations: 11.84 kB / 484.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/0.1531, allocations: 40 kB / 484.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.1533, allocations: 69.97 kB / 484.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.155, allocations: 1.081 MB / 485.7 MB, free: 11.36 MB / 366.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006604/0.1616, allocations: 5.129 MB / 490.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1628, allocations: 0.7585 MB / 491.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.1633, allocations: 346.8 kB / 491.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.1634, allocations: 16.53 kB / 491.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1634, allocations: 39.12 kB / 492 MB, free: 4.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 3.897e-06/0.1634, allocations: 3.984 kB / 492 MB, free: 4.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.005493/0.1689, allocations: 2.662 MB / 494.6 MB, free: 2.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.169, allocations: 145.1 kB / 494.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/0.1699, allocations: 0.7509 MB / 495.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.17, allocations: 33.7 kB / 495.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.1704, allocations: 0.5689 MB / 496.1 MB, free: 472 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.1706, allocations: 256.4 kB / 496.4 MB, free: 212 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1709, allocations: 154.5 kB / 496.5 MB, free: 52 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.171, allocations: 345.9 kB / 496.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.1715, allocations: 304.6 kB / 497.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.1722, allocations: 0.5412 MB / 497.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.1735, allocations: 0.9014 MB / 498.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.1735, allocations: 7.938 kB / 498.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002704/0.1763, allocations: 1.34 MB / 500 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1763, allocations: 8 kB / 500 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1763, allocations: 8 kB / 500 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.1777, allocations: 420.8 kB / 0.4886 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.1783, allocations: 163.8 kB / 0.4888 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.187, allocations: 4.841 MB / 0.4935 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/0.188, allocations: 39.97 kB / 0.4936 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.188, allocations: 43.98 kB / 0.4936 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001018/0.1891, allocations: 0.5565 MB / 0.4942 GB, free: 6.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006255/0.1897, allocations: 0.5334 MB / 0.4947 GB, free: 5.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/0.1908, allocations: 0.8779 MB / 0.4955 GB, free: 4.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.289e-06/0.1908, allocations: 4 kB / 0.4955 GB, free: 4.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002444/0.1933, allocations: 1.258 MB / 0.4968 GB, free: 3.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1933, allocations: 11.94 kB / 0.4968 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1933, allocations: 11.98 kB / 0.4968 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.1946, allocations: 408.8 kB / 0.4972 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.1952, allocations: 163.7 kB / 0.4973 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/0.2018, allocations: 4.63 MB / 0.5019 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.2026, allocations: 35.98 kB / 0.5019 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.2027, allocations: 35.98 kB / 0.5019 GB, free: 13.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.203, allocations: 246.9 kB / 0.5022 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.2031, allocations: 94.86 kB / 0.5023 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2046, allocations: 0.8713 MB / 0.5031 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2046, allocations: 12 kB / 0.5031 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2046, allocations: 0 / 0.5031 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.2046, allocations: 7.984 kB / 0.5031 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.2075, allocations: 1.845 MB / 0.5049 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2075, allocations: 4 kB / 0.5049 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.2083, allocations: 163.8 kB / 0.5051 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2083, allocations: 4 kB / 0.5051 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.2084, allocations: 19.98 kB / 0.5051 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.2084, allocations: 4 kB / 0.5051 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2084, allocations: 3.938 kB / 0.5051 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.2102, allocations: 1.274 MB / 0.5064 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.2106, allocations: 231.8 kB / 0.5066 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2107, allocations: 20 kB / 0.5066 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.2112, allocations: 23.97 kB / 0.5066 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.2112, allocations: 56.47 kB / 0.5067 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.2113, allocations: 23.94 kB / 0.5067 GB, free: 8.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000687/0.212, allocations: 0.5107 MB / 0.5072 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.212, allocations: 0 / 0.5072 GB, free: 8.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001683/0.2137, allocations: 469.3 kB / 0.5076 GB, free: 7.848 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003522/0.214, allocations: 141.4 kB / 0.5078 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.2178, allocations: 1.889 MB / 0.5096 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2178, allocations: 4.062 kB / 0.5096 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2184, allocations: 351.5 kB / 0.51 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2196, allocations: 231.2 kB / 0.5102 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.2242, allocations: 3.037 MB / 0.5132 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.2251, allocations: 1.201 MB / 0.5143 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.2254, allocations: 71.42 kB / 0.5144 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2254, allocations: 0 / 0.5144 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Templates: time 0.2359/0.4613, allocations: 17.13 MB / 0.5311 GB, free: 63.19 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.AC3ph.Generation.LocalGenerationCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.o] Error 1