Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009176/0.0009176, allocations: 92.58 kB / 17.31 MB, free: 5.59 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.00129/0.00129, allocations: 183.1 kB / 18.21 MB, free: 5.191 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.762/1.762, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1995/0.1995, allocations: 38.06 MB / 310.7 MB, free: 5.918 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.0005947/0.0005946, allocations: 12.52 kB / 377.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2932, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01001/0.3032, allocations: 11.25 MB / 445.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009729/0.313, allocations: 6.842 MB / 452.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.315, allocations: 67.56 kB / 452.3 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0192/0.3342, allocations: 12.35 MB / 464.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.3374, allocations: 0.743 MB / 465.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3389, allocations: 0.565 MB / 466 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.3452, allocations: 4.492 MB / 470.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.3474, allocations: 1.255 MB / 471.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.3489, allocations: 0.6957 MB / 472.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.3502, allocations: 0.9414 MB / 473.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3503, allocations: 60 kB / 473.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.3512, allocations: 375.4 kB / 473.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.3517, allocations: 0.5101 MB / 474.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.3525, allocations: 0.7009 MB / 475 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.3543, allocations: 1.73 MB / 476.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3544, allocations: 4 kB / 476.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3544, allocations: 0 / 476.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.3544, allocations: 0 / 476.7 MB, free: 7.938 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003655/0.3581, allocations: 1.636 MB / 478.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3581, allocations: 12.02 kB / 478.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.359, allocations: 226.9 kB / 478.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.3612, allocations: 1.172 MB / 479.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.3613, allocations: 82.2 kB / 479.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.3617, allocations: 135.9 kB / 480 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.3642, allocations: 1.493 MB / 481.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.3643, allocations: 3.938 kB / 481.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.3644, allocations: 51.98 kB / 481.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.3646, allocations: 78.05 kB / 481.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.3667, allocations: 1.226 MB / 482.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/0.3752, allocations: 5.729 MB / 488.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3769, allocations: 0.9892 MB / 489.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008713/0.3778, allocations: 488.4 kB / 490 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.3779, allocations: 12.66 kB / 490 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.3779, allocations: 43.22 kB / 490.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=76): time 3.357e-06/0.3779, allocations: 0 / 490.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.007962/0.3859, allocations: 3.73 MB / 493.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.3861, allocations: 163.2 kB / 494 MB, free: 5.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.3876, allocations: 0.9445 MB / 494.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.3877, allocations: 37.7 kB / 494.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.3882, allocations: 0.6356 MB / 495.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.3886, allocations: 307.6 kB / 495.9 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3887, allocations: 85.67 kB / 496 MB, free: 3.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3889, allocations: 349.9 kB / 496.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.3896, allocations: 401.8 kB / 496.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.3905, allocations: 0.6561 MB / 497.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.3923, allocations: 1.099 MB / 498.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3923, allocations: 9.031 kB / 498.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004624/0.3969, allocations: 2.102 MB / 0.4888 GB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.3972, allocations: 303.7 kB / 0.4891 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3972, allocations: 8 kB / 0.4891 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.4, allocations: 0.8129 MB / 0.4899 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.4006, allocations: 151.7 kB / 0.4901 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.4161, allocations: 9.919 MB / 0.4998 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.4172, allocations: 59.95 kB / 0.4998 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.798e-05/0.4173, allocations: 40 kB / 0.4999 GB, free: 3.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4174, allocations: 7.938 kB / 0.4999 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003673/0.421, allocations: 1.766 MB / 0.5016 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4211, allocations: 8 kB / 0.5016 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.4235, allocations: 0.7777 MB / 0.5024 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.4241, allocations: 151.8 kB / 0.5025 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.4373, allocations: 9.336 MB / 0.5116 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009894/0.4383, allocations: 52.06 kB / 0.5117 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.4384, allocations: 44 kB / 0.5117 GB, free: 6.688 MB / 398.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.0009328/0.4394, allocations: 480.7 kB / 0.5122 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.4396, allocations: 110.6 kB / 0.5123 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.4418, allocations: 1.347 MB / 0.5136 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4418, allocations: 8 kB / 0.5136 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4418, allocations: 4 kB / 0.5136 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4418, allocations: 3.984 kB / 0.5136 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.4459, allocations: 2.661 MB / 0.5162 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4459, allocations: 0 / 0.5162 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.4468, allocations: 183.8 kB / 0.5164 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.447, allocations: 86.5 kB / 0.5165 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.4471, allocations: 27.98 kB / 0.5165 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2878/0.735, allocations: 4.12 MB / 0.5205 GB, free: 82.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.735, allocations: 1.188 kB / 0.5205 GB, free: 82.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.7387, allocations: 1.937 MB / 0.5224 GB, free: 82.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/0.7392, allocations: 279.5 kB / 0.5227 GB, free: 82.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.7394, allocations: 21.69 kB / 0.5227 GB, free: 82.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/0.74, allocations: 54.78 kB / 0.5227 GB, free: 82.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7402, allocations: 58.73 kB / 0.5228 GB, free: 82.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.7403, allocations: 23.83 kB / 0.5228 GB, free: 82.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.7415, allocations: 0.65 MB / 0.5235 GB, free: 82.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7415, allocations: 3.094 kB / 0.5235 GB, free: 82.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002317/0.7438, allocations: 0.5458 MB / 0.524 GB, free: 82.26 MB / 398.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.0003883/0.7442, allocations: 164.5 kB / 0.5241 GB, free: 82.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005622/0.7498, allocations: 3.019 MB / 0.5271 GB, free: 81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7499, allocations: 0 / 0.5271 GB, free: 81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.7511, allocations: 0.828 MB / 0.5279 GB, free: 80.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.7528, allocations: 267.3 kB / 0.5282 GB, free: 80.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/0.7603, allocations: 4.112 MB / 0.5322 GB, free: 78.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.7614, allocations: 1.32 MB / 0.5335 GB, free: 77.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.7618, allocations: 84.42 kB / 0.5335 GB, free: 77.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.735e-06/0.7618, allocations: 0 / 0.5335 GB, free: 77.41 MB / 398.1 MB Notification: Performance of Templates: time 0.03684/0.7987, allocations: 34.92 MB / 0.5676 GB, free: 46.15 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC3ph.Generation.IslandingCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.IslandingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.IslandingCalcHelperMain.o] Error 1