Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008869, allocations: 99.05 kB / 15.71 MB, free: 452 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.451/1.451, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.001037/0.001037, allocations: 180.5 kB / 290.9 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5642/0.5642, allocations: 78.55 MB / 420.6 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004915, allocations: 15.94 kB / 0.4887 GB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 69.36 MB / 0.5564 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.3658/0.5422, allocations: 12.83 MB / 0.5689 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009432/0.5516, allocations: 3.44 MB / 0.5723 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003999/0.5557, allocations: 33.38 kB / 0.5723 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.5577, allocations: 393 kB / 0.5727 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.5631, allocations: 1.197 MB / 0.5739 GB, free: 32.34 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.5667, allocations: 1.283 MB / 0.5751 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00556/0.5722, allocations: 3.346 MB / 0.5784 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5735, allocations: 0.6854 MB / 0.5791 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.5758, allocations: 1.302 MB / 0.5803 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.5774, allocations: 1.717 MB / 0.582 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.5777, allocations: 141.8 kB / 0.5822 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.5784, allocations: 270.1 kB / 0.5824 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.5789, allocations: 0.5832 MB / 0.583 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.5795, allocations: 0.5222 MB / 0.5835 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.5818, allocations: 2.944 MB / 0.5864 GB, free: 26.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.5818, allocations: 0 / 0.5864 GB, free: 26.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5818, allocations: 0 / 0.5864 GB, free: 26.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.5818, allocations: 2.844 kB / 0.5864 GB, free: 26.79 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02006/0.6019, allocations: 6.154 MB / 0.5924 GB, free: 24.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.602, allocations: 10 kB / 0.5924 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.6168, allocations: 2.294 MB / 0.5946 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/0.6215, allocations: 1.771 MB / 0.5964 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006568/0.6222, allocations: 0.7515 MB / 0.5971 GB, free: 22.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/0.6227, allocations: 219 kB / 0.5973 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007249/0.63, allocations: 3.216 MB / 0.6004 GB, free: 21.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.63, allocations: 1.109 kB / 0.6004 GB, free: 21.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.6303, allocations: 82.7 kB / 0.6005 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.6303, allocations: 53.56 kB / 0.6006 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006614/0.637, allocations: 2.976 MB / 0.6035 GB, free: 20.11 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.02358/0.6606, allocations: 10.12 MB / 0.6134 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.6723, allocations: 4.866 MB / 0.6181 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/0.6771, allocations: 2.161 MB / 0.6202 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.6774, allocations: 38.97 kB / 0.6203 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004691/0.6821, allocations: 2.423 MB / 0.6226 GB, free: 9.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 4.458e-06/0.6822, allocations: 4 kB / 0.6226 GB, free: 9.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1064/0.7886, allocations: 33.49 MB / 0.6553 GB, free: 8.324 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.7888, allocations: 180.3 kB / 0.6555 GB, free: 8.109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/0.7927, allocations: 2.261 MB / 0.6577 GB, free: 5.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009859/0.7937, allocations: 76.14 kB / 0.6578 GB, free: 5.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.7947, allocations: 1.16 MB / 0.6589 GB, free: 4.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.796, allocations: 0.8665 MB / 0.6598 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.7963, allocations: 68 kB / 0.6598 GB, free: 3.633 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.7965, allocations: 432.8 kB / 0.6602 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/0.8008, allocations: 2.142 MB / 0.6623 GB, free: 1.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/0.8053, allocations: 2.509 MB / 0.6648 GB, free: 14.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00458/0.8099, allocations: 2.415 MB / 0.6671 GB, free: 12 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.81, allocations: 0 / 0.6671 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04022/0.8502, allocations: 15.16 MB / 0.682 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8504, allocations: 114.8 kB / 0.6821 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.8504, allocations: 8 kB / 0.6821 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01858/0.869, allocations: 6.416 MB / 0.6883 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.8722, allocations: 0.5662 MB / 0.6889 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05849/0.9307, allocations: 25.15 MB / 0.7135 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/0.9358, allocations: 0.5792 MB / 0.714 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/0.9362, allocations: 120.8 kB / 0.7141 GB, free: 11.67 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 322 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001438/0.9377, allocations: 0.5392 MB / 0.7147 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006278/0.9383, allocations: 296.3 kB / 0.7149 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04005/0.9783, allocations: 14.73 MB / 0.7293 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/0.9784, allocations: 31.92 kB / 0.7294 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.46e-05/0.9785, allocations: 16 kB / 0.7294 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/0.9786, allocations: 15.95 kB / 0.7294 GB, free: 11.99 MB / 0.5294 GB 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.04505/1.024, allocations: 18.32 MB / 0.7473 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.024, allocations: 0 / 0.7473 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.025, allocations: 247.7 kB / 0.7475 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01735/1.043, allocations: 6.23 MB / 0.7536 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007275/1.043, allocations: 51.98 kB / 0.7536 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3938/1.437, allocations: 25.51 MB / 0.7786 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.437, allocations: 0 / 0.7786 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04666/1.484, allocations: 17.29 MB / 0.7954 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.485, allocations: 420.8 kB / 0.7958 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008033/1.486, allocations: 44.53 kB / 0.7959 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.489, allocations: 408.4 kB / 0.7963 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002997/1.492, allocations: 0.5773 MB / 0.7968 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.493, allocations: 69.7 kB / 0.7969 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003564/1.496, allocations: 1.48 MB / 0.7983 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.174e-06/1.496, allocations: 1.375 kB / 0.7983 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005343/1.502, allocations: 1.183 MB / 0.7995 GB, free: 162.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004608/1.502, allocations: 170.9 kB / 0.7997 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01924/1.521, allocations: 7.503 MB / 0.807 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.521, allocations: 0 / 0.807 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01438/1.536, allocations: 5.066 MB / 0.8119 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.539, allocations: 268.9 kB / 0.8122 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.549, allocations: 6.335 MB / 0.8184 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.551, allocations: 1.808 MB / 0.8201 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.552, allocations: 179.8 kB / 0.8203 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.552, allocations: 0 / 0.8203 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07372/1.625, allocations: 63.7 MB / 0.8825 GB, free: 98.9 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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 OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIICalcHelperMain.o] Error 1