Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009281/0.0009281, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0008935/0.0008935, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.203/1.203, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1583/0.1583, allocations: 37.99 MB / 309.2 MB, free: 6.254 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.001146/0.001146, allocations: 67.03 kB / 375.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1738, allocations: 55.25 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.007248/0.1811, allocations: 10.46 MB / 441 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.1845, allocations: 3.689 MB / 444.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.1849, allocations: 63.62 kB / 444.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008114/0.1857, allocations: 362 kB / 445.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008887/0.1866, allocations: 0.7234 MB / 445.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1872, allocations: 434.9 kB / 446.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1884, allocations: 2.428 MB / 448.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.1892, allocations: 0.8522 MB / 449.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.1896, allocations: 0.6455 MB / 450.1 MB, free: 68 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.1904, allocations: 0.8132 MB / 451 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1906, allocations: 84 kB / 451 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.191, allocations: 319.5 kB / 451.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.1914, allocations: 442.6 kB / 451.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005205/0.1919, allocations: 0.6335 MB / 452.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1931, allocations: 1.563 MB / 454 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1931, allocations: 0 / 454 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1931, allocations: 0 / 454 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1931, allocations: 0 / 454 MB, free: 12.21 MB / 334.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.002549/0.1956, allocations: 1.643 MB / 455.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1957, allocations: 8.031 kB / 455.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.1963, allocations: 187.2 kB / 455.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1976, allocations: 0.9147 MB / 456.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.1977, allocations: 82.05 kB / 456.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.1979, allocations: 124 kB / 456.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.1998, allocations: 1.352 MB / 458.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.1998, allocations: 7.891 kB / 458.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.1999, allocations: 47.94 kB / 458.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.091e-05/0.2, allocations: 65.97 kB / 458.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.2016, allocations: 1.073 MB / 459.5 MB, free: 6.539 MB / 334.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.2074, allocations: 5.141 MB / 464.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2084, allocations: 0.7567 MB / 465.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.2089, allocations: 344.7 kB / 465.7 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.2089, allocations: 4.562 kB / 465.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.209, allocations: 47.06 kB / 465.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=64): time 1.753e-06/0.209, allocations: 0 / 465.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.004835/0.2138, allocations: 2.674 MB / 468.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.2139, allocations: 137.1 kB / 468.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.2147, allocations: 0.751 MB / 469.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.2148, allocations: 41.7 kB / 469.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.2151, allocations: 0.565 MB / 469.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.2153, allocations: 252.5 kB / 470.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.2155, allocations: 158.6 kB / 470.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2156, allocations: 341.9 kB / 470.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2161, allocations: 300.7 kB / 471 MB, free: 10.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.2167, allocations: 0.5451 MB / 471.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2179, allocations: 0.9053 MB / 472.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2179, allocations: 3.938 kB / 472.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002519/0.2204, allocations: 1.34 MB / 473.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2204, allocations: 12.06 kB / 473.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.2205, allocations: 8 kB / 473.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.2217, allocations: 420.5 kB / 474.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.2224, allocations: 171.7 kB / 474.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/0.2293, allocations: 4.833 MB / 479.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.2299, allocations: 47.83 kB / 479.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.2299, allocations: 47.92 kB / 479.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007797/0.2307, allocations: 0.5604 MB / 479.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000555/0.2313, allocations: 0.5332 MB / 480.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/0.2323, allocations: 0.8858 MB / 481.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.2323, allocations: 0 / 481.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002229/0.2345, allocations: 1.258 MB / 482.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2346, allocations: 8 kB / 482.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2346, allocations: 8.469 kB / 482.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.2358, allocations: 404.4 kB / 482.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.2364, allocations: 171.7 kB / 483.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/0.2426, allocations: 4.635 MB / 487.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.2431, allocations: 35.98 kB / 487.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.2432, allocations: 36 kB / 487.8 MB, free: 8.988 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.2435, allocations: 236 kB / 488 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.2436, allocations: 90.88 kB / 488.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.245, allocations: 0.8753 MB / 489 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.245, allocations: 8 kB / 489 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.245, allocations: 0 / 489 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.245, allocations: 3.984 kB / 489 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.2476, allocations: 1.865 MB / 490.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2476, allocations: 4 kB / 490.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.2484, allocations: 159.8 kB / 491 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2484, allocations: 8.031 kB / 491 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.2485, allocations: 19.94 kB / 491.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2485, allocations: 4 kB / 491.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.2485, allocations: 3.984 kB / 491.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.2501, allocations: 1.27 MB / 492.3 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.2504, allocations: 231.8 kB / 492.6 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2505, allocations: 19.94 kB / 492.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.2509, allocations: 23.98 kB / 492.6 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.251, allocations: 48.53 kB / 492.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.251, allocations: 23.98 kB / 492.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005712/0.2516, allocations: 0.5107 MB / 493.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2516, allocations: 0 / 493.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001334/0.253, allocations: 469.4 kB / 493.6 MB, free: 3 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002752/0.2532, allocations: 143.1 kB / 493.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.2562, allocations: 1.887 MB / 495.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2562, allocations: 1.562 kB / 495.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.2567, allocations: 351.5 kB / 496 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.2578, allocations: 231.2 kB / 496.2 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.2617, allocations: 3.056 MB / 499.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/0.2624, allocations: 1.201 MB / 0.4888 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.2627, allocations: 75.42 kB / 0.4888 GB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2627, allocations: 0 / 0.4888 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01829/0.281, allocations: 17.18 MB / 0.5056 GB, free: 10.79 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGenerationCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.o] Error 1