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.001164/0.001164, allocations: 88.27 kB / 16.95 MB, free: 5.953 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.001686/0.001687, allocations: 181.5 kB / 17.84 MB, free: 5.613 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.719/1.719, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1712/0.1712, allocations: 38.05 MB / 310.3 MB, free: 6.031 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.0005952/0.0005952, allocations: 19.98 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3316, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009894/0.3416, allocations: 10.58 MB / 444.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3518, allocations: 6.355 MB / 450.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.354, allocations: 67.5 kB / 450.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.373, allocations: 11.84 MB / 462.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.3763, allocations: 0.8086 MB / 463.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.3783, allocations: 0.5094 MB / 463.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006198/0.3845, allocations: 3.833 MB / 467.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.3867, allocations: 1.103 MB / 468.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.3885, allocations: 0.7193 MB / 469.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.39, allocations: 0.9067 MB / 470.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3901, allocations: 60 kB / 470.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.391, allocations: 327.5 kB / 470.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.3916, allocations: 0.5024 MB / 471.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.392, allocations: 301 kB / 471.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.3939, allocations: 1.73 MB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3939, allocations: 0 / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3939, allocations: 0 / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.3939, allocations: 0 / 473.1 MB, free: 11.07 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.003397/0.3973, allocations: 1.651 MB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3974, allocations: 8.031 kB / 474.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.3982, allocations: 233.9 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.4004, allocations: 1.128 MB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.4005, allocations: 82.2 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.4008, allocations: 139.9 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.4033, allocations: 1.477 MB / 477.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.4033, allocations: 7.938 kB / 477.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.4035, allocations: 47.98 kB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.4036, allocations: 78.03 kB / 477.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.4057, allocations: 1.214 MB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00803/0.4137, allocations: 5.733 MB / 484.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.4152, allocations: 0.9774 MB / 485.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007974/0.416, allocations: 492.3 kB / 486.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.977e-05/0.4161, allocations: 12.64 kB / 486.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4162, allocations: 43.22 kB / 486.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=76): time 3.036e-06/0.4162, allocations: 5.094 kB / 486.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.007722/0.4239, allocations: 3.728 MB / 490.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.4241, allocations: 167.2 kB / 490.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4258, allocations: 0.9366 MB / 491.2 MB, free: 8.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/0.4259, allocations: 41.7 kB / 491.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/0.4265, allocations: 0.6316 MB / 491.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.4268, allocations: 307.5 kB / 492.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.4269, allocations: 20 kB / 492.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.4271, allocations: 345.9 kB / 492.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.4278, allocations: 397.8 kB / 493 MB, free: 6.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.4286, allocations: 0.6405 MB / 493.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.4295, allocations: 498.8 kB / 494.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4295, allocations: 4 kB / 494.1 MB, free: 5.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004152/0.4336, allocations: 2.097 MB / 496.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.4339, allocations: 304.5 kB / 496.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4339, allocations: 8 kB / 496.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.4364, allocations: 0.848 MB / 497.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.437, allocations: 155.7 kB / 497.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.4512, allocations: 9.887 MB / 0.4955 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4523, allocations: 63.89 kB / 0.4955 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.4524, allocations: 43.98 kB / 0.4956 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.4524, allocations: 8.094 kB / 0.4956 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003367/0.4557, allocations: 1.754 MB / 0.4973 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4558, allocations: 4.906 kB / 0.4973 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.4581, allocations: 0.7773 MB / 0.4981 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.4587, allocations: 147.8 kB / 0.4982 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.4716, allocations: 9.317 MB / 0.5073 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4727, allocations: 51.91 kB / 0.5074 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.4728, allocations: 36 kB / 0.5074 GB, free: 10.72 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 (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.0009345/0.4737, allocations: 476.8 kB / 0.5078 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4739, allocations: 118.7 kB / 0.508 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.4759, allocations: 1.343 MB / 0.5093 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4759, allocations: 8 kB / 0.5093 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.476, allocations: 4 kB / 0.5093 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.476, allocations: 3.984 kB / 0.5093 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.4797, allocations: 2.653 MB / 0.5119 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4798, allocations: 0 / 0.5119 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.4807, allocations: 183.8 kB / 0.5121 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.4809, allocations: 94.42 kB / 0.5121 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.481, allocations: 31.98 kB / 0.5122 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.484, allocations: 4.117 MB / 0.5162 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.484, allocations: 4.156 kB / 0.5162 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2827/0.7667, allocations: 1.932 MB / 0.5181 GB, free: 84.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.7675, allocations: 266.8 kB / 0.5183 GB, free: 84.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7676, allocations: 27.33 kB / 0.5184 GB, free: 84.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.7682, allocations: 48.31 kB / 0.5184 GB, free: 84.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7684, allocations: 56.86 kB / 0.5185 GB, free: 84.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.7685, allocations: 27.92 kB / 0.5185 GB, free: 84.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.7696, allocations: 0.6376 MB / 0.5191 GB, free: 84.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7697, allocations: 0 / 0.5191 GB, free: 84.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002059/0.7717, allocations: 0.5499 MB / 0.5197 GB, free: 84.15 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 (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.0003263/0.7721, allocations: 163.2 kB / 0.5198 GB, free: 84.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005612/0.7777, allocations: 3.013 MB / 0.5228 GB, free: 83.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7777, allocations: 0 / 0.5228 GB, free: 83.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.7789, allocations: 0.8207 MB / 0.5236 GB, free: 82.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.7805, allocations: 277.8 kB / 0.5238 GB, free: 82.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.7871, allocations: 4.003 MB / 0.5277 GB, free: 80.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.7884, allocations: 1.334 MB / 0.529 GB, free: 80 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.7888, allocations: 84.88 kB / 0.5291 GB, free: 80 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7888, allocations: 0 / 0.5291 GB, free: 80 MB / 398.1 MB Notification: Performance of Templates: time 0.03633/0.8251, allocations: 34.93 MB / 0.5632 GB, free: 49.89 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++ 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_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