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.000742/0.0007419, allocations: 90.62 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.000739/0.000739, allocations: 175.3 kB / 17.84 MB, free: 5.621 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.365/1.365, allocations: 223.3 MB / 241.9 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.178/0.178, allocations: 38.09 MB / 331.1 MB, free: 8.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 12 kB / 400.7 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 59.18 MB / 459.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01069/0.1316, allocations: 9.368 MB / 469.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006461/0.1381, allocations: 3.442 MB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.1395, allocations: 59.62 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000905/0.1404, allocations: 282 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.1426, allocations: 0.7657 MB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1438, allocations: 411.4 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.1463, allocations: 2.011 MB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.1476, allocations: 0.8879 MB / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1487, allocations: 0.5794 MB / 477.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.1497, allocations: 0.7238 MB / 478.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1499, allocations: 56 kB / 478.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.1505, allocations: 287.5 kB / 478.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.1509, allocations: 406.8 kB / 479.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.1512, allocations: 269 kB / 479.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1526, allocations: 1.516 MB / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1527, allocations: 0 / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1527, allocations: 0 / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.1527, allocations: 0 / 480.9 MB, free: 2.223 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.002613/0.1553, allocations: 1.425 MB / 482.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1554, allocations: 8.031 kB / 482.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/0.156, allocations: 186.2 kB / 482.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.1575, allocations: 0.8868 MB / 483.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.1576, allocations: 78.06 kB / 483.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.1579, allocations: 120 kB / 483.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.16, allocations: 1.345 MB / 484.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.16, allocations: 7.938 kB / 485 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1601, allocations: 47.98 kB / 485 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.1602, allocations: 69.97 kB / 485.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.162, allocations: 1.066 MB / 486.1 MB, free: 12.82 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.000124777475384046 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0067/0.1687, allocations: 5.153 MB / 491.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1698, allocations: 0.7713 MB / 492.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/0.1703, allocations: 340.1 kB / 492.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.1704, allocations: 12.56 kB / 492.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1705, allocations: 43.12 kB / 492.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 3.707e-06/0.1705, allocations: 0 / 492.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.005329/0.1758, allocations: 2.701 MB / 495.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.1759, allocations: 137.1 kB / 495.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.1768, allocations: 0.7431 MB / 496 MB, free: 2.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.1769, allocations: 45.64 kB / 496.1 MB, free: 2.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.1773, allocations: 0.565 MB / 496.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.1775, allocations: 252.4 kB / 496.9 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1776, allocations: 16 kB / 496.9 MB, free: 1.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1777, allocations: 349.9 kB / 497.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.1782, allocations: 289.8 kB / 497.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.1789, allocations: 0.549 MB / 498.1 MB, free: 312 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.1795, allocations: 383.2 kB / 498.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1795, allocations: 0 / 498.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002663/0.1822, allocations: 1.364 MB / 499.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.1824, allocations: 329.7 kB / 0.4884 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1825, allocations: 8 kB / 0.4884 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.1838, allocations: 440.4 kB / 0.4888 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.1844, allocations: 163.8 kB / 0.489 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/0.1922, allocations: 4.93 MB / 0.4938 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.193, allocations: 47.97 kB / 0.4938 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.1931, allocations: 36 kB / 0.4939 GB, free: 8.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1931, allocations: 4 kB / 0.4939 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002263/0.1954, allocations: 1.144 MB / 0.495 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.1954, allocations: 11.95 kB / 0.495 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1966, allocations: 401 kB / 0.4954 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.1972, allocations: 167.7 kB / 0.4956 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007009/0.2042, allocations: 4.626 MB / 0.5001 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/0.205, allocations: 31.98 kB / 0.5001 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.2051, allocations: 40 kB / 0.5001 GB, free: 1.812 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009209/0.206, allocations: 436.7 kB / 0.5006 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.2062, allocations: 94.86 kB / 0.5007 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.2077, allocations: 0.8755 MB / 0.5015 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.2077, allocations: 8 kB / 0.5015 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2077, allocations: 0 / 0.5015 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2078, allocations: 7.984 kB / 0.5015 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2593/0.4671, allocations: 1.865 MB / 0.5033 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4671, allocations: 2.688 kB / 0.5033 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.4679, allocations: 162 kB / 0.5035 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.468, allocations: 9.562 kB / 0.5035 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.468, allocations: 20.58 kB / 0.5035 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.468, allocations: 3.641 kB / 0.5035 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4681, allocations: 5.75 kB / 0.5035 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.4699, allocations: 1.279 MB / 0.5048 GB, free: 53.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.4704, allocations: 226.2 kB / 0.505 GB, free: 53.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4705, allocations: 15.91 kB / 0.505 GB, free: 53.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.4709, allocations: 28.56 kB / 0.505 GB, free: 53.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4711, allocations: 44.91 kB / 0.5051 GB, free: 53.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.4711, allocations: 19.73 kB / 0.5051 GB, free: 53.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.4722, allocations: 0.5057 MB / 0.5056 GB, free: 53.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4722, allocations: 0 / 0.5056 GB, free: 53.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002241/0.4745, allocations: 461.6 kB / 0.506 GB, free: 53.24 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.4749, allocations: 146.3 kB / 0.5062 GB, free: 53.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.4789, allocations: 1.908 MB / 0.508 GB, free: 52.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4789, allocations: 0 / 0.508 GB, free: 52.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.4795, allocations: 357.5 kB / 0.5084 GB, free: 52.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4807, allocations: 231.1 kB / 0.5086 GB, free: 52.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.4849, allocations: 3.112 MB / 0.5116 GB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/0.4859, allocations: 1.202 MB / 0.5128 GB, free: 49.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.4861, allocations: 76.12 kB / 0.5129 GB, free: 49.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4862, allocations: 0 / 0.5129 GB, free: 49.67 MB / 382.1 MB Notification: Performance of Templates: time 0.02682/0.513, allocations: 17.02 MB / 0.5295 GB, free: 41.82 MB / 382.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++ 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.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