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.00093/0.0009301, allocations: 89.44 kB / 17.31 MB, free: 6.031 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.001207/0.001207, allocations: 178.1 kB / 18.21 MB, free: 5.406 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.524/1.524, allocations: 223.2 MB / 242.2 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2155/0.2155, allocations: 38.1 MB / 331.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 59.17 MB / 460.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01299/0.1526, allocations: 11.24 MB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1647, allocations: 6.788 MB / 478.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.1668, allocations: 59.62 kB / 478.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02087/0.1877, allocations: 12.37 MB / 491 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.1908, allocations: 0.7469 MB / 491.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.1926, allocations: 0.5557 MB / 492.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006529/0.1991, allocations: 4.5 MB / 496.8 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.2015, allocations: 1.251 MB / 498 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.2032, allocations: 0.6958 MB / 498.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.2047, allocations: 0.9337 MB / 499.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.2049, allocations: 60 kB / 499.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009201/0.2058, allocations: 371.4 kB / 0.4884 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.2064, allocations: 0.5062 MB / 0.4889 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008381/0.2073, allocations: 0.7047 MB / 0.4896 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.2091, allocations: 1.726 MB / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2091, allocations: 0 / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2091, allocations: 0 / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.2091, allocations: 3.938 kB / 0.4912 GB, free: 12.39 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.003511/0.2126, allocations: 1.632 MB / 0.4928 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2127, allocations: 8.031 kB / 0.4928 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.2136, allocations: 230.9 kB / 0.4931 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.2157, allocations: 1.152 MB / 0.4942 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/0.2158, allocations: 90.19 kB / 0.4943 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.2161, allocations: 139.9 kB / 0.4944 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.2186, allocations: 1.489 MB / 0.4959 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.2186, allocations: 11.84 kB / 0.4959 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.2187, allocations: 44 kB / 0.4959 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/0.2189, allocations: 78.05 kB / 0.496 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.2211, allocations: 1.226 MB / 0.4972 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008349/0.2294, allocations: 5.725 MB / 0.5028 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3253/0.5547, allocations: 0.9747 MB / 0.5037 GB, free: 57.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.5559, allocations: 499 kB / 0.5042 GB, free: 57.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.556, allocations: 10.2 kB / 0.5042 GB, free: 57.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.556, allocations: 45.45 kB / 0.5043 GB, free: 57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/0.556, allocations: 3.172 kB / 0.5043 GB, free: 57 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.008761/0.5648, allocations: 3.719 MB / 0.5079 GB, free: 55.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.5649, allocations: 172.8 kB / 0.5081 GB, free: 55.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5666, allocations: 0.9377 MB / 0.509 GB, free: 54.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.5667, allocations: 40.7 kB / 0.509 GB, free: 54.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.5672, allocations: 0.6284 MB / 0.5096 GB, free: 54.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.5676, allocations: 309.3 kB / 0.5099 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5677, allocations: 87.08 kB / 0.51 GB, free: 54.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5678, allocations: 347.8 kB / 0.5103 GB, free: 53.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008548/0.5687, allocations: 402 kB / 0.5107 GB, free: 53.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.5697, allocations: 0.6462 MB / 0.5114 GB, free: 53.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.5715, allocations: 1.101 MB / 0.5124 GB, free: 52.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.5715, allocations: 2.156 kB / 0.5124 GB, free: 52.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006115/0.5776, allocations: 2.11 MB / 0.5145 GB, free: 51.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.5779, allocations: 311.9 kB / 0.5148 GB, free: 51.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.5779, allocations: 8.125 kB / 0.5148 GB, free: 51.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/0.5809, allocations: 0.8173 MB / 0.5156 GB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.5816, allocations: 149.7 kB / 0.5157 GB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.5961, allocations: 9.903 MB / 0.5254 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.5972, allocations: 64.45 kB / 0.5255 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.5973, allocations: 42.91 kB / 0.5255 GB, free: 44.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.5973, allocations: 3.531 kB / 0.5255 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003502/0.6008, allocations: 1.772 MB / 0.5272 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6008, allocations: 11.61 kB / 0.5273 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.6031, allocations: 0.7737 MB / 0.528 GB, free: 43.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.6036, allocations: 150.1 kB / 0.5282 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.6139, allocations: 9.332 MB / 0.5373 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.6149, allocations: 55.86 kB / 0.5373 GB, free: 35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.615, allocations: 40 kB / 0.5374 GB, free: 34.96 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.000738/0.6158, allocations: 477.1 kB / 0.5378 GB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.6159, allocations: 106.7 kB / 0.5379 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.6176, allocations: 1.352 MB / 0.5392 GB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6177, allocations: 16 kB / 0.5393 GB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6177, allocations: 0 / 0.5393 GB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.6177, allocations: 3.984 kB / 0.5393 GB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.6209, allocations: 2.658 MB / 0.5419 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6209, allocations: 0 / 0.5419 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008476/0.6218, allocations: 179.8 kB / 0.542 GB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.622, allocations: 94.39 kB / 0.5421 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.6221, allocations: 31.98 kB / 0.5421 GB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.624, allocations: 4.13 MB / 0.5462 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.624, allocations: 0 / 0.5462 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.6263, allocations: 1.93 MB / 0.5481 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.6267, allocations: 271.6 kB / 0.5483 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6268, allocations: 23.98 kB / 0.5483 GB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.6275, allocations: 55.95 kB / 0.5484 GB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6276, allocations: 54.23 kB / 0.5485 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.6277, allocations: 23.98 kB / 0.5485 GB, free: 22.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008347/0.6285, allocations: 0.6423 MB / 0.5491 GB, free: 22.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6285, allocations: 4 kB / 0.5491 GB, free: 22.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001989/0.6305, allocations: 0.5547 MB / 0.5496 GB, free: 21.7 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 (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,1,100.0%), (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.0002995/0.6308, allocations: 151.6 kB / 0.5498 GB, free: 21.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004955/0.6358, allocations: 3.012 MB / 0.5527 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6358, allocations: 4.125 kB / 0.5527 GB, free: 18.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.637, allocations: 0.8356 MB / 0.5536 GB, free: 17.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.6387, allocations: 278.5 kB / 0.5538 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.6444, allocations: 4.083 MB / 0.5578 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/0.6452, allocations: 1.33 MB / 0.5591 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.6456, allocations: 83.42 kB / 0.5592 GB, free: 11.76 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6456, allocations: 0 / 0.5592 GB, free: 11.76 MB / 382.1 MB Notification: Performance of Templates: time 0.04044/0.686, allocations: 34.76 MB / 0.5931 GB, free: 8.996 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++ -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.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