Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0008322/0.0008323, allocations: 92.22 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.0008099/0.0008097, allocations: 178.8 kB / 17.84 MB, free: 5.621 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.626/1.626, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1811/0.1811, allocations: 38.06 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.000584/0.0005841, allocations: 19.12 kB / 377.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.312, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.008966/0.321, allocations: 10.92 MB / 444.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006981/0.3281, allocations: 4.241 MB / 448.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3294, allocations: 71.5 kB / 448.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.3303, allocations: 345.7 kB / 449 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.3327, allocations: 0.9642 MB / 450 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3345, allocations: 0.5849 MB / 450.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.337, allocations: 2.422 MB / 453 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.3398, allocations: 1.508 MB / 454.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.3411, allocations: 0.6767 MB / 455.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.3425, allocations: 0.9346 MB / 456.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.3426, allocations: 60 kB / 456.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.3436, allocations: 435.2 kB / 456.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.3442, allocations: 0.6273 MB / 457.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.3445, allocations: 301 kB / 457.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3463, allocations: 1.765 MB / 459.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3463, allocations: 0 / 459.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3463, allocations: 4 kB / 459.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3463, allocations: 0 / 459.3 MB, free: 8.867 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003004/0.3493, allocations: 1.548 MB / 460.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3494, allocations: 8.031 kB / 460.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.3509, allocations: 289.8 kB / 461.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.3528, allocations: 1.016 MB / 462.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.3529, allocations: 90.34 kB / 462.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.3532, allocations: 147.9 kB / 462.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.3559, allocations: 1.697 MB / 464.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.356, allocations: 4 kB / 464.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.3561, allocations: 48 kB / 464.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.3564, allocations: 102.4 kB / 464.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.3588, allocations: 1.438 MB / 465.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009628/0.3685, allocations: 6.107 MB / 471.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.3698, allocations: 0.7055 MB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.3705, allocations: 484.2 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.3706, allocations: 8.656 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.3706, allocations: 43.22 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.636e-06/0.3706, allocations: 0 / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.009787/0.3804, allocations: 4.438 MB / 477.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.3806, allocations: 166.9 kB / 477.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3818, allocations: 0.8297 MB / 478.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.3818, allocations: 45.69 kB / 478.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005593/0.3824, allocations: 0.6311 MB / 479.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.3827, allocations: 295.8 kB / 479.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.3828, allocations: 28.03 kB / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.383, allocations: 349.9 kB / 479.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.3839, allocations: 486.3 kB / 480.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3852, allocations: 0.7775 MB / 481 MB, free: 2.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3864, allocations: 0.6042 MB / 481.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3864, allocations: 4 kB / 481.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004273/0.3907, allocations: 1.905 MB / 483.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.391, allocations: 336.2 kB / 483.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002958/0.394, allocations: 1.514 MB / 485.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/0.3959, allocations: 0.5661 MB / 486 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.3974, allocations: 483.5 kB / 486.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.4126, allocations: 13.25 MB / 499.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.4139, allocations: 71.95 kB / 499.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/0.414, allocations: 55.92 kB / 499.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.414, allocations: 4 kB / 499.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003312/0.4173, allocations: 1.721 MB / 0.4898 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002825/0.4202, allocations: 1.448 MB / 0.4912 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.4219, allocations: 0.5661 MB / 0.4917 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.4227, allocations: 215.7 kB / 0.4919 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4337, allocations: 10.17 MB / 0.5019 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.4348, allocations: 55.91 kB / 0.5019 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.4349, allocations: 51.94 kB / 0.502 GB, free: 15.42 MB / 398.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 (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009912/0.4359, allocations: 0.5045 MB / 0.5025 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.4361, allocations: 102.7 kB / 0.5026 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.4388, allocations: 1.417 MB / 0.504 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4388, allocations: 11.98 kB / 0.504 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4388, allocations: 4 kB / 0.504 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.4388, allocations: 3.984 kB / 0.504 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.4438, allocations: 2.882 MB / 0.5068 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.4438, allocations: 11.94 kB / 0.5068 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.4444, allocations: 131.8 kB / 0.5069 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.4454, allocations: 387.9 kB / 0.5073 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/0.4455, allocations: 27.98 kB / 0.5073 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007645/0.4532, allocations: 8.672 MB / 0.5158 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4532, allocations: 4.031 kB / 0.5158 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2983/0.7515, allocations: 1.953 MB / 0.5177 GB, free: 81.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007105/0.7523, allocations: 258.7 kB / 0.5179 GB, free: 81.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.7525, allocations: 29.97 kB / 0.518 GB, free: 81.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/0.753, allocations: 45.62 kB / 0.518 GB, free: 81.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.7533, allocations: 70.19 kB / 0.5181 GB, free: 81.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.7534, allocations: 30.19 kB / 0.5181 GB, free: 81.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.7545, allocations: 0.5691 MB / 0.5187 GB, free: 81.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7545, allocations: 2.219 kB / 0.5187 GB, free: 81.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002833/0.7573, allocations: 0.6437 MB / 0.5193 GB, free: 81.52 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004032/0.7578, allocations: 151.6 kB / 0.5194 GB, free: 81.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.7637, allocations: 3.536 MB / 0.5229 GB, free: 80.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7637, allocations: 0 / 0.5229 GB, free: 80.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7656, allocations: 1.184 MB / 0.5241 GB, free: 79.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.767, allocations: 225.2 kB / 0.5243 GB, free: 79.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.7732, allocations: 3.824 MB / 0.528 GB, free: 77.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/0.7741, allocations: 1.341 MB / 0.5293 GB, free: 76.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.7744, allocations: 78.7 kB / 0.5294 GB, free: 76.87 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7744, allocations: 3.938 kB / 0.5294 GB, free: 76.86 MB / 398.1 MB Notification: Performance of Templates: time 0.04366/0.8181, allocations: 46.71 MB / 0.575 GB, free: 34.92 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1