Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.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.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 94.61 kB / 16.96 MB, free: 6.461 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.0008106/0.0008107, allocations: 179.4 kB / 17.84 MB, free: 6 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: 223.2 MB / 241.8 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1714/0.1714, allocations: 38.09 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 400.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 59.15 MB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01173/0.1362, allocations: 10.57 MB / 470.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.1471, allocations: 6.316 MB / 476.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.1489, allocations: 63.62 kB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01957/0.1685, allocations: 11.84 MB / 488.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.1717, allocations: 0.8085 MB / 489.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1735, allocations: 0.5063 MB / 490 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.1792, allocations: 3.836 MB / 493.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.1812, allocations: 1.083 MB / 494.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.1826, allocations: 0.7193 MB / 495.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1838, allocations: 0.9106 MB / 496.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.1839, allocations: 63.94 kB / 496.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.1846, allocations: 315.5 kB / 496.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004574/0.1851, allocations: 0.5024 MB / 497.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.1854, allocations: 300.9 kB / 497.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1869, allocations: 1.718 MB / 499.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1869, allocations: 0 / 499.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1869, allocations: 4 kB / 499.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.1869, allocations: 0 / 499.4 MB, free: 15.74 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003111/0.1901, allocations: 1.659 MB / 0.4893 GB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1901, allocations: 12.03 kB / 0.4893 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.1909, allocations: 229.9 kB / 0.4896 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.1928, allocations: 1.117 MB / 0.4906 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.1929, allocations: 82.2 kB / 0.4907 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.1932, allocations: 135.9 kB / 0.4909 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.1954, allocations: 1.485 MB / 0.4923 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.1955, allocations: 0 / 0.4923 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1956, allocations: 55.97 kB / 0.4924 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.1957, allocations: 78.05 kB / 0.4924 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.1977, allocations: 1.218 MB / 0.4936 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.2052, allocations: 5.725 MB / 0.4992 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.2067, allocations: 0.9748 MB / 0.5002 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.2075, allocations: 494 kB / 0.5006 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.247e-05/0.2076, allocations: 16.64 kB / 0.5007 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.2076, allocations: 47.16 kB / 0.5007 GB, free: 1.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.514e-06/0.2076, allocations: 0 / 0.5007 GB, free: 1.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.2507/0.4583, allocations: 3.719 MB / 0.5043 GB, free: 56.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.4585, allocations: 165.3 kB / 0.5045 GB, free: 56.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.4602, allocations: 0.9252 MB / 0.5054 GB, free: 56.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.4603, allocations: 42.62 kB / 0.5054 GB, free: 55.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.4609, allocations: 0.6308 MB / 0.506 GB, free: 55.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.4612, allocations: 306 kB / 0.5063 GB, free: 55.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.4612, allocations: 19.88 kB / 0.5064 GB, free: 55.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4614, allocations: 347 kB / 0.5067 GB, free: 55.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007608/0.4621, allocations: 397.5 kB / 0.5071 GB, free: 55.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/0.4631, allocations: 0.6404 MB / 0.5077 GB, free: 54.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/0.4639, allocations: 0.4908 MB / 0.5082 GB, free: 54.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4639, allocations: 2.156 kB / 0.5082 GB, free: 54.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004467/0.4684, allocations: 2.101 MB / 0.5102 GB, free: 53.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.4686, allocations: 306.8 kB / 0.5105 GB, free: 53.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.4686, allocations: 7.547 kB / 0.5105 GB, free: 53.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.4715, allocations: 0.8443 MB / 0.5114 GB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.4721, allocations: 150.1 kB / 0.5115 GB, free: 52.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.4863, allocations: 9.875 MB / 0.5211 GB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.4874, allocations: 59.86 kB / 0.5212 GB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/0.4875, allocations: 41.55 kB / 0.5212 GB, free: 46.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.4875, allocations: 3.344 kB / 0.5212 GB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/0.4909, allocations: 1.755 MB / 0.523 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4909, allocations: 7.938 kB / 0.523 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.4931, allocations: 0.7749 MB / 0.5237 GB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.4937, allocations: 149.7 kB / 0.5239 GB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.5041, allocations: 9.324 MB / 0.533 GB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.5051, allocations: 47.44 kB / 0.533 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.5052, allocations: 39.09 kB / 0.533 GB, free: 38.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 40} Notification: Performance of prepare postOptimizeDAE: time 0.0007947/0.506, allocations: 471.3 kB / 0.5335 GB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.5061, allocations: 111.6 kB / 0.5336 GB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.5078, allocations: 1.357 MB / 0.5349 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5078, allocations: 8.578 kB / 0.5349 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5078, allocations: 7.688 kB / 0.5349 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5078, allocations: 3.984 kB / 0.5349 GB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.5109, allocations: 2.646 MB / 0.5375 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5109, allocations: 0 / 0.5375 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.5117, allocations: 187.8 kB / 0.5377 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.5119, allocations: 91.47 kB / 0.5378 GB, free: 34.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.512, allocations: 31.92 kB / 0.5378 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5139, allocations: 4.127 MB / 0.5419 GB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5139, allocations: 4.156 kB / 0.5419 GB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.516, allocations: 1.931 MB / 0.5437 GB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.5163, allocations: 263.6 kB / 0.544 GB, free: 27.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5164, allocations: 27.98 kB / 0.544 GB, free: 27.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.517, allocations: 47.95 kB / 0.5441 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.5171, allocations: 64.81 kB / 0.5441 GB, free: 27.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.5171, allocations: 27.98 kB / 0.5442 GB, free: 27.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008127/0.518, allocations: 0.6383 MB / 0.5448 GB, free: 26.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.518, allocations: 0 / 0.5448 GB, free: 26.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001912/0.5199, allocations: 0.5466 MB / 0.5453 GB, free: 26.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * 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 (85): * Single equations (assignments): 81 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002791/0.5202, allocations: 153 kB / 0.5455 GB, free: 26.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004295/0.5245, allocations: 3.003 MB / 0.5484 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5245, allocations: 0 / 0.5484 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009313/0.5254, allocations: 0.8297 MB / 0.5492 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5267, allocations: 274.2 kB / 0.5495 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.5315, allocations: 4 MB / 0.5534 GB, free: 17.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.5323, allocations: 1.323 MB / 0.5547 GB, free: 16.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.5325, allocations: 83.42 kB / 0.5547 GB, free: 16.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5325, allocations: 0 / 0.5547 GB, free: 16.43 MB / 382.1 MB Notification: Performance of Templates: time 0.03527/0.5678, allocations: 34.78 MB / 0.5887 GB, free: 13.65 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.IslandingCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.IslandingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.IslandingCalcHelperMain.o] Error 1