Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 94.34 kB / 17.31 MB, free: 6.535 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.0009405/0.0009407, allocations: 175.2 kB / 18.21 MB, free: 5.684 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.487/1.487, allocations: 223.2 MB / 242.2 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1783/0.1783, allocations: 38.09 MB / 331.5 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 59.15 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01571/0.16, allocations: 11.62 MB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1705, allocations: 4.414 MB / 476.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.1727, allocations: 71.5 kB / 476.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.174, allocations: 302 kB / 476.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.1774, allocations: 0.8715 MB / 477.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1792, allocations: 0.5844 MB / 478.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004118/0.1834, allocations: 3.044 MB / 481.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.1865, allocations: 1.651 MB / 483.1 MB, free: 408 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.188, allocations: 0.657 MB / 483.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.1895, allocations: 0.9499 MB / 484.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1897, allocations: 60 kB / 484.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1908, allocations: 0.5224 MB / 485.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.1915, allocations: 0.6117 MB / 485.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008138/0.1923, allocations: 0.7245 MB / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.1945, allocations: 1.753 MB / 488.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1945, allocations: 4 kB / 488.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1945, allocations: 0 / 488.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.1945, allocations: 4 kB / 488.4 MB, free: 11.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003209/0.1977, allocations: 1.528 MB / 489.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1978, allocations: 12.03 kB / 489.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.1995, allocations: 286.8 kB / 490.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.2014, allocations: 1.028 MB / 491.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.704e-05/0.2016, allocations: 90.72 kB / 491.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.2019, allocations: 151.8 kB / 491.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.2048, allocations: 1.713 MB / 493.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.2049, allocations: 4 kB / 493.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.205, allocations: 48 kB / 493.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003109/0.2053, allocations: 102.4 kB / 493.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.2079, allocations: 1.442 MB / 494.8 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009155/0.2171, allocations: 6.119 MB / 0.4891 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.2183, allocations: 0.7105 MB / 0.4898 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.2191, allocations: 472.4 kB / 0.4903 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.2192, allocations: 12.64 kB / 0.4903 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.2193, allocations: 43.22 kB / 0.4903 GB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.035e-06/0.2193, allocations: 0 / 0.4903 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.009903/0.2292, allocations: 4.441 MB / 0.4947 GB, free: 8.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2294, allocations: 162.9 kB / 0.4948 GB, free: 8.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.2305, allocations: 0.8412 MB / 0.4956 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.2306, allocations: 41.7 kB / 0.4957 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000507/0.2311, allocations: 0.6273 MB / 0.4963 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.2314, allocations: 303.7 kB / 0.4966 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.2316, allocations: 105.7 kB / 0.4967 GB, free: 6.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2317, allocations: 357.9 kB / 0.497 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/0.2325, allocations: 490.3 kB / 0.4975 GB, free: 5.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.2336, allocations: 0.7776 MB / 0.4983 GB, free: 4.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.2356, allocations: 1.316 MB / 0.4995 GB, free: 2.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2356, allocations: 4 kB / 0.4995 GB, free: 2.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004029/0.2396, allocations: 1.917 MB / 0.5014 GB, free: 0.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/0.24, allocations: 344 kB / 0.5017 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.319/0.559, allocations: 1.512 MB / 0.5032 GB, free: 54.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.5613, allocations: 0.5659 MB / 0.5038 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.5631, allocations: 485.9 kB / 0.5042 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.5778, allocations: 13.24 MB / 0.5172 GB, free: 44.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.579, allocations: 69.2 kB / 0.5172 GB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/0.5791, allocations: 50.83 kB / 0.5173 GB, free: 44.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.5791, allocations: 9.656 kB / 0.5173 GB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003914/0.5831, allocations: 1.741 MB / 0.519 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003556/0.5866, allocations: 1.457 MB / 0.5204 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.5892, allocations: 0.5662 MB / 0.521 GB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.5902, allocations: 221 kB / 0.5212 GB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.6006, allocations: 10.17 MB / 0.5311 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.6018, allocations: 69.69 kB / 0.5312 GB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.6019, allocations: 46.91 kB / 0.5312 GB, free: 34.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * 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 initialization (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.6029, allocations: 0.4983 MB / 0.5317 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.6031, allocations: 98.56 kB / 0.5318 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.6058, allocations: 1.422 MB / 0.5332 GB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.6058, allocations: 9.625 kB / 0.5332 GB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6058, allocations: 8.125 kB / 0.5332 GB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6058, allocations: 4.938 kB / 0.5332 GB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.6108, allocations: 2.878 MB / 0.536 GB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.6108, allocations: 3.688 kB / 0.536 GB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.6114, allocations: 139.2 kB / 0.5362 GB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.6126, allocations: 392.7 kB / 0.5365 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.6126, allocations: 35.52 kB / 0.5366 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.6189, allocations: 8.683 MB / 0.545 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.619, allocations: 6.938 kB / 0.545 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.6219, allocations: 1.953 MB / 0.547 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.6223, allocations: 260.1 kB / 0.5472 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6224, allocations: 39.92 kB / 0.5472 GB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.623, allocations: 39.97 kB / 0.5473 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.6232, allocations: 68.5 kB / 0.5473 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.6232, allocations: 31.98 kB / 0.5474 GB, free: 21.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.6239, allocations: 0.5776 MB / 0.5479 GB, free: 20.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6239, allocations: 0 / 0.5479 GB, free: 20.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002399/0.6263, allocations: 0.647 MB / 0.5486 GB, free: 20.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004063/0.6267, allocations: 159.6 kB / 0.5487 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005365/0.6321, allocations: 3.553 MB / 0.5522 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.6322, allocations: 4 kB / 0.5522 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.6336, allocations: 1.187 MB / 0.5534 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.6352, allocations: 220.6 kB / 0.5536 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.64, allocations: 3.916 MB / 0.5574 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/0.6409, allocations: 1.339 MB / 0.5587 GB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.6412, allocations: 79.42 kB / 0.5588 GB, free: 9.551 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6412, allocations: 0 / 0.5588 GB, free: 9.551 MB / 382.1 MB Notification: Performance of Templates: time 0.05099/0.6922, allocations: 46.49 MB / 0.6042 GB, free: 11.04 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1