Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000801/0.000801, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000957/0.0009571, allocations: 184.5 kB / 291.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4898/0.4898, allocations: 78.55 MB / 420.9 MB, free: 4.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004461, allocations: 16 kB / 0.4893 GB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 69.36 MB / 0.557 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2474/0.3905, allocations: 6.535 MB / 0.5634 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.394, allocations: 2.045 MB / 0.5654 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.3945, allocations: 16.22 kB / 0.5654 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.395, allocations: 185 kB / 0.5656 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.3965, allocations: 0.7177 MB / 0.5663 GB, free: 35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3976, allocations: 0.5983 MB / 0.5669 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.3989, allocations: 1.58 MB / 0.5684 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.3993, allocations: 278.6 kB / 0.5687 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.3998, allocations: 0.5958 MB / 0.5693 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.4006, allocations: 0.7958 MB / 0.5701 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.4007, allocations: 60.44 kB / 0.5701 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.4011, allocations: 192.1 kB / 0.5703 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.4014, allocations: 282.6 kB / 0.5706 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.4018, allocations: 0.6461 MB / 0.5712 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009497/0.4028, allocations: 1.279 MB / 0.5724 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4028, allocations: 3.281 kB / 0.5724 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4028, allocations: 2.781 kB / 0.5724 GB, free: 33.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4028, allocations: 1.719 kB / 0.5724 GB, free: 33.53 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007946/0.4108, allocations: 2.592 MB / 0.575 GB, free: 32.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4108, allocations: 8.812 kB / 0.575 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/0.4155, allocations: 0.7902 MB / 0.5758 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4169, allocations: 0.9178 MB / 0.5767 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.4172, allocations: 267.5 kB / 0.5769 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4174, allocations: 90.19 kB / 0.577 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.4195, allocations: 1.177 MB / 0.5781 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4195, allocations: 0 / 0.5781 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.4196, allocations: 34.23 kB / 0.5782 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4196, allocations: 19.97 kB / 0.5782 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.4217, allocations: 1.065 MB / 0.5792 GB, free: 31.75 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005974/0.4277, allocations: 4.01 MB / 0.5832 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0078/0.4355, allocations: 2.939 MB / 0.586 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4369, allocations: 0.7589 MB / 0.5868 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.359e-05/0.4371, allocations: 20.08 kB / 0.5868 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.4387, allocations: 0.9004 MB / 0.5877 GB, free: 28.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 4.298e-06/0.4387, allocations: 2.156 kB / 0.5877 GB, free: 28.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03149/0.4702, allocations: 8.644 MB / 0.5961 GB, free: 27.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.4703, allocations: 114.5 kB / 0.5962 GB, free: 26.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.4723, allocations: 1.144 MB / 0.5973 GB, free: 26.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.4726, allocations: 45.98 kB / 0.5974 GB, free: 26.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.4729, allocations: 0.4917 MB / 0.5979 GB, free: 26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.4733, allocations: 367.7 kB / 0.5982 GB, free: 25.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.4735, allocations: 156.6 kB / 0.5984 GB, free: 25.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.4736, allocations: 303.1 kB / 0.5986 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.4754, allocations: 0.8595 MB / 0.5995 GB, free: 25.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.4773, allocations: 1.032 MB / 0.6005 GB, free: 24.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02718/0.5045, allocations: 6.372 MB / 0.6067 GB, free: 22.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.5046, allocations: 0 / 0.6067 GB, free: 22.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01644/0.5211, allocations: 5.346 MB / 0.6119 GB, free: 21.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.5212, allocations: 60.03 kB / 0.612 GB, free: 21.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5212, allocations: 7.938 kB / 0.612 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006388/0.5276, allocations: 1.946 MB / 0.6139 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.5292, allocations: 295.6 kB / 0.6142 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/0.5487, allocations: 8.941 MB / 0.6229 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.5511, allocations: 250.5 kB / 0.6232 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003035/0.5514, allocations: 63.97 kB / 0.6232 GB, free: 9.492 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009357/0.5524, allocations: 306.3 kB / 0.6235 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.5528, allocations: 126.4 kB / 0.6236 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.566, allocations: 4.764 MB / 0.6283 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5661, allocations: 8 kB / 0.6283 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.417e-05/0.5661, allocations: 8 kB / 0.6283 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.5661, allocations: 5.672 kB / 0.6283 GB, free: 4.246 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.582, allocations: 6.404 MB / 0.6346 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.582, allocations: 0 / 0.6346 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/0.5828, allocations: 107.9 kB / 0.6347 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/0.5891, allocations: 1.879 MB / 0.6365 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/0.5895, allocations: 20 kB / 0.6365 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/0.611, allocations: 9.689 MB / 0.646 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.611, allocations: 0 / 0.646 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/0.6274, allocations: 5.714 MB / 0.6516 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.6281, allocations: 231.2 kB / 0.6518 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.6286, allocations: 20 kB / 0.6518 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.6303, allocations: 148.5 kB / 0.6519 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006846/0.631, allocations: 192.7 kB / 0.6521 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.6311, allocations: 31.98 kB / 0.6522 GB, free: 11.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.6326, allocations: 0.7673 MB / 0.6529 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6326, allocations: 0 / 0.6529 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001958/0.6346, allocations: 491.6 kB / 0.6534 GB, free: 10.13 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003766/0.635, allocations: 143.7 kB / 0.6535 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007474/0.6425, allocations: 2.908 MB / 0.6563 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6425, allocations: 0 / 0.6563 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004754/0.6472, allocations: 1.824 MB / 0.6581 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6488, allocations: 118 kB / 0.6582 GB, free: 5.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.6539, allocations: 3.033 MB / 0.6612 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.6548, allocations: 1.136 MB / 0.6623 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.6552, allocations: 79.42 kB / 0.6624 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6552, allocations: 0 / 0.6624 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of Templates: time 0.03586/0.6911, allocations: 24.07 MB / 0.6859 GB, free: 8.898 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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 OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.o] Error 1