Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0008493/0.0008492, allocations: 100.5 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.436/1.436, allocations: 223.3 MB / 239.7 MB, free: 5.629 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.001298/0.001298, allocations: 184.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4886/0.4886, allocations: 79.48 MB / 421.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 11.94 kB / 0.4897 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 69.51 MB / 0.5576 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.3566/0.5177, allocations: 12.87 MB / 0.5702 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.5285, allocations: 3.448 MB / 0.5736 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.5316, allocations: 38.88 kB / 0.5736 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.5331, allocations: 387.7 kB / 0.574 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.5375, allocations: 1.201 MB / 0.5751 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.5408, allocations: 1.28 MB / 0.5764 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004563/0.5454, allocations: 3.338 MB / 0.5796 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5465, allocations: 0.6988 MB / 0.5803 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.5485, allocations: 1.307 MB / 0.5816 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.5502, allocations: 1.708 MB / 0.5833 GB, free: 26.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.5504, allocations: 139.2 kB / 0.5834 GB, free: 26.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.5512, allocations: 273.2 kB / 0.5837 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.5517, allocations: 0.5877 MB / 0.5842 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005414/0.5522, allocations: 0.5228 MB / 0.5848 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.5546, allocations: 2.936 MB / 0.5876 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.5546, allocations: 0 / 0.5876 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5547, allocations: 2.625 kB / 0.5876 GB, free: 25.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.317e-05/0.5547, allocations: 0 / 0.5876 GB, free: 25.35 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.01995/0.5747, allocations: 6.161 MB / 0.5936 GB, free: 23.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5747, allocations: 13.62 kB / 0.5937 GB, free: 23.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.5896, allocations: 2.292 MB / 0.5959 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.5956, allocations: 1.771 MB / 0.5976 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009588/0.5965, allocations: 0.7446 MB / 0.5983 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.5979, allocations: 223 kB / 0.5986 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.6086, allocations: 3.213 MB / 0.6017 GB, free: 19.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.612e-05/0.6087, allocations: 0 / 0.6017 GB, free: 19.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007064/0.6094, allocations: 81.42 kB / 0.6018 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/0.6095, allocations: 54.73 kB / 0.6018 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008288/0.6178, allocations: 2.977 MB / 0.6047 GB, free: 18.67 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.02653/0.6443, allocations: 10.16 MB / 0.6147 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.6574, allocations: 4.854 MB / 0.6194 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005062/0.6625, allocations: 2.165 MB / 0.6215 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/0.6631, allocations: 40.39 kB / 0.6215 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005821/0.6689, allocations: 2.421 MB / 0.6239 GB, free: 8.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 7.203e-06/0.669, allocations: 0 / 0.6239 GB, free: 8.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1154/0.7844, allocations: 34.62 MB / 0.6577 GB, free: 5.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.7845, allocations: 180.2 kB / 0.6579 GB, free: 5.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005158/0.7897, allocations: 2.253 MB / 0.6601 GB, free: 3.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001066/0.7908, allocations: 69.77 kB / 0.6602 GB, free: 3.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.7923, allocations: 1.168 MB / 0.6613 GB, free: 2.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002478/0.7948, allocations: 0.8665 MB / 0.6621 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.7959, allocations: 64 kB / 0.6622 GB, free: 1.086 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0007126/0.7966, allocations: 428.8 kB / 0.6626 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006144/0.8028, allocations: 2.142 MB / 0.6647 GB, free: 14.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0063/0.8091, allocations: 2.507 MB / 0.6672 GB, free: 11.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/0.8149, allocations: 2.415 MB / 0.6695 GB, free: 9.461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.815, allocations: 7.984 kB / 0.6695 GB, free: 9.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04422/0.8592, allocations: 15.16 MB / 0.6843 GB, free: 10.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.8594, allocations: 110.8 kB / 0.6844 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.8594, allocations: 8 kB / 0.6844 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01929/0.8787, allocations: 6.418 MB / 0.6907 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.882, allocations: 0.5773 MB / 0.6913 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06543/0.9475, allocations: 25.14 MB / 0.7158 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005653/0.9532, allocations: 0.5792 MB / 0.7164 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/0.9544, allocations: 124.4 kB / 0.7165 GB, free: 9.129 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.003108/0.9576, allocations: 0.5417 MB / 0.717 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/0.9593, allocations: 297.8 kB / 0.7173 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04322/1.002, allocations: 14.72 MB / 0.7317 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/1.003, allocations: 28 kB / 0.7317 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-05/1.003, allocations: 20 kB / 0.7317 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/1.003, allocations: 19.94 kB / 0.7318 GB, free: 9.441 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.05382/1.057, allocations: 18.32 MB / 0.7496 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/1.057, allocations: 0.9375 kB / 0.7496 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.058, allocations: 243.7 kB / 0.7499 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0193/1.078, allocations: 6.228 MB / 0.756 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009893/1.079, allocations: 55.98 kB / 0.756 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4089/1.488, allocations: 25.49 MB / 0.7809 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.488, allocations: 2.875 kB / 0.7809 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04759/1.535, allocations: 17.29 MB / 0.7978 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.537, allocations: 420.4 kB / 0.7982 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009737/1.538, allocations: 44.11 kB / 0.7982 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/1.541, allocations: 407.1 kB / 0.7986 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002511/1.544, allocations: 0.5828 MB / 0.7992 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/1.544, allocations: 68.06 kB / 0.7993 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002829/1.547, allocations: 1.483 MB / 0.8007 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.547, allocations: 0 / 0.8007 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005554/1.552, allocations: 1.181 MB / 0.8019 GB, free: 161.6 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.0006393/1.553, allocations: 163.5 kB / 0.802 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0217/1.575, allocations: 7.506 MB / 0.8093 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.575, allocations: 0 / 0.8093 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01517/1.59, allocations: 5.062 MB / 0.8143 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/1.595, allocations: 264.8 kB / 0.8145 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.609, allocations: 6.34 MB / 0.8207 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.612, allocations: 1.807 MB / 0.8225 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/1.613, allocations: 180.6 kB / 0.8227 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.294e-06/1.613, allocations: 0 / 0.8227 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08366/1.697, allocations: 63.69 MB / 0.8849 GB, free: 95.67 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIICalcHelperMain.o] Error 1