Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008917/0.0008918, allocations: 99.83 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.485/1.485, allocations: 223.3 MB / 239.7 MB, free: 5.605 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.001237/0.001237, allocations: 164.6 kB / 290.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5529/0.5529, allocations: 79.47 MB / 421.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004259, allocations: 16 kB / 0.4897 GB, free: 5.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4441, allocations: 69.51 MB / 0.5576 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01056/0.4547, allocations: 12.95 MB / 0.5703 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008547/0.4633, allocations: 3.491 MB / 0.5737 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.4667, allocations: 30.19 kB / 0.5737 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.4683, allocations: 392.7 kB / 0.5741 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.4727, allocations: 1.213 MB / 0.5753 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.4756, allocations: 1.282 MB / 0.5765 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004287/0.4799, allocations: 3.381 MB / 0.5798 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.4809, allocations: 0.7003 MB / 0.5805 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.483, allocations: 1.322 MB / 0.5818 GB, free: 27.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.4847, allocations: 1.739 MB / 0.5835 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003144/0.485, allocations: 148.3 kB / 0.5836 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.4857, allocations: 278.3 kB / 0.5839 GB, free: 26.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.4862, allocations: 0.5967 MB / 0.5845 GB, free: 26.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.4867, allocations: 0.5215 MB / 0.585 GB, free: 26.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.4889, allocations: 2.98 MB / 0.5879 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4889, allocations: 0 / 0.5879 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.489, allocations: 0 / 0.5879 GB, free: 25.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.554e-05/0.489, allocations: 0 / 0.5879 GB, free: 25.29 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01982/0.5089, allocations: 6.223 MB / 0.594 GB, free: 23.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5089, allocations: 8.531 kB / 0.594 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.5236, allocations: 2.3 MB / 0.5962 GB, free: 22.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/0.5293, allocations: 1.792 MB / 0.598 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009032/0.5303, allocations: 0.7578 MB / 0.5987 GB, free: 20.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.5315, allocations: 216.2 kB / 0.5989 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/0.5415, allocations: 3.223 MB / 0.6021 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.876e-05/0.5416, allocations: 1.25 kB / 0.6021 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006256/0.5422, allocations: 85.72 kB / 0.6022 GB, free: 19.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/0.5423, allocations: 54.42 kB / 0.6022 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007736/0.55, allocations: 2.981 MB / 0.6051 GB, free: 18.58 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.02595/0.576, allocations: 10.18 MB / 0.6151 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.588, allocations: 4.879 MB / 0.6198 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004897/0.593, allocations: 2.168 MB / 0.6219 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.5936, allocations: 43.77 kB / 0.622 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005521/0.5991, allocations: 2.438 MB / 0.6244 GB, free: 8.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 7.824e-06/0.5992, allocations: 4 kB / 0.6244 GB, free: 8.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1133/0.7124, allocations: 33.42 MB / 0.657 GB, free: 6.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.7126, allocations: 188.2 kB / 0.6572 GB, free: 6.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/0.7178, allocations: 2.286 MB / 0.6594 GB, free: 3.957 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009034/0.7188, allocations: 73.77 kB / 0.6595 GB, free: 3.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.7201, allocations: 1.187 MB / 0.6606 GB, free: 2.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001827/0.7219, allocations: 0.8703 MB / 0.6615 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009139/0.7229, allocations: 64 kB / 0.6616 GB, free: 1.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003678/0.7233, allocations: 428.9 kB / 0.662 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005485/0.7288, allocations: 2.158 MB / 0.6641 GB, free: 15.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005601/0.7344, allocations: 2.533 MB / 0.6665 GB, free: 12.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005724/0.7401, allocations: 2.431 MB / 0.6689 GB, free: 10.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.7402, allocations: 4 kB / 0.6689 GB, free: 10.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04435/0.7845, allocations: 15.2 MB / 0.6838 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.7847, allocations: 122.7 kB / 0.6839 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/0.7848, allocations: 8.562 kB / 0.6839 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02012/0.8049, allocations: 6.428 MB / 0.6902 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.8084, allocations: 0.589 MB / 0.6907 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06628/0.8747, allocations: 25.16 MB / 0.7153 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006054/0.8808, allocations: 0.5869 MB / 0.7159 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.882, allocations: 116 kB / 0.716 GB, free: 9.633 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (331): * Single equations (assignments): 326 * 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.003026/0.885, allocations: 0.5379 MB / 0.7165 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/0.8867, allocations: 296.3 kB / 0.7168 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0455/0.9322, allocations: 14.76 MB / 0.7312 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-05/0.9323, allocations: 24 kB / 0.7312 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.783e-05/0.9324, allocations: 24 kB / 0.7313 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/0.9325, allocations: 11.95 kB / 0.7313 GB, free: 9.871 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.05325/0.9857, allocations: 18.39 MB / 0.7492 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/0.9858, allocations: 4.062 kB / 0.7492 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/0.9878, allocations: 247.7 kB / 0.7495 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01994/1.008, allocations: 6.281 MB / 0.7556 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/1.009, allocations: 51.98 kB / 0.7557 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4026/1.411, allocations: 25.49 MB / 0.7806 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.412, allocations: 6.562 kB / 0.7806 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04615/1.458, allocations: 17.32 MB / 0.7975 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.459, allocations: 423 kB / 0.7979 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008292/1.46, allocations: 47.03 kB / 0.7979 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.463, allocations: 408.9 kB / 0.7983 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002429/1.466, allocations: 0.5812 MB / 0.7989 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.466, allocations: 67.64 kB / 0.7989 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002859/1.469, allocations: 1.51 MB / 0.8004 GB, free: 162 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.469, allocations: 0 / 0.8004 GB, free: 162 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004776/1.474, allocations: 1.185 MB / 0.8016 GB, free: 162 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004819/1.474, allocations: 178.2 kB / 0.8017 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02067/1.495, allocations: 7.529 MB / 0.8091 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.495, allocations: 4.062 kB / 0.8091 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01437/1.509, allocations: 5.102 MB / 0.8141 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.513, allocations: 261.8 kB / 0.8143 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.523, allocations: 6.46 MB / 0.8206 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.525, allocations: 1.816 MB / 0.8224 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.526, allocations: 179 kB / 0.8226 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.526, allocations: 0 / 0.8226 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.07827/1.604, allocations: 64.2 MB / 0.8853 GB, free: 95.06 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIICalcHelperMain.o] Error 1