Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001024, allocations: 102.7 kB / 15.71 MB, free: 460 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.62/1.62, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001342/0.001342, allocations: 184.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5235/0.5235, allocations: 79.49 MB / 421.5 MB, free: 4.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 8 kB / 0.4897 GB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 69.51 MB / 0.5576 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.338/0.5129, allocations: 6.092 MB / 0.5636 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.5174, allocations: 1.938 MB / 0.5655 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.518, allocations: 11.31 kB / 0.5655 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.5187, allocations: 176.8 kB / 0.5656 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.5203, allocations: 0.6588 MB / 0.5663 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.5215, allocations: 0.5226 MB / 0.5668 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.5231, allocations: 1.461 MB / 0.5682 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.5235, allocations: 267.3 kB / 0.5685 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.5241, allocations: 0.5802 MB / 0.569 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.5249, allocations: 0.7512 MB / 0.5698 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.525, allocations: 63.31 kB / 0.5698 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004241/0.5255, allocations: 186.3 kB / 0.57 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.5257, allocations: 260.8 kB / 0.5703 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.526, allocations: 232.2 kB / 0.5705 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.5271, allocations: 1.269 MB / 0.5717 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5271, allocations: 5.875 kB / 0.5717 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5271, allocations: 0.6875 kB / 0.5717 GB, free: 35.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5271, allocations: 0 / 0.5717 GB, free: 35.39 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007361/0.5345, allocations: 2.572 MB / 0.5742 GB, free: 34.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5345, allocations: 9.5 kB / 0.5743 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004623/0.5391, allocations: 0.7861 MB / 0.575 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.5407, allocations: 0.8672 MB / 0.5759 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.541, allocations: 268 kB / 0.5761 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.5412, allocations: 88.75 kB / 0.5762 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.5433, allocations: 1.157 MB / 0.5773 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5433, allocations: 5.5 kB / 0.5773 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.5434, allocations: 29.34 kB / 0.5774 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5434, allocations: 22.36 kB / 0.5774 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.5452, allocations: 1.05 MB / 0.5784 GB, free: 32.54 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.005825/0.551, allocations: 3.963 MB / 0.5823 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007057/0.5581, allocations: 2.923 MB / 0.5851 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5596, allocations: 0.7475 MB / 0.5859 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.5597, allocations: 19.95 kB / 0.5859 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.5613, allocations: 0.8922 MB / 0.5868 GB, free: 28.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.334e-06/0.5613, allocations: 0 / 0.5868 GB, free: 28.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02944/0.5908, allocations: 8.797 MB / 0.5954 GB, free: 27.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.5909, allocations: 118.1 kB / 0.5955 GB, free: 27.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.593, allocations: 1.112 MB / 0.5965 GB, free: 26.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.5931, allocations: 46.78 kB / 0.5966 GB, free: 26.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.5935, allocations: 0.4908 MB / 0.5971 GB, free: 26.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.5939, allocations: 362.6 kB / 0.5974 GB, free: 25.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.594, allocations: 30.25 kB / 0.5974 GB, free: 25.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5942, allocations: 370.8 kB / 0.5978 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.5959, allocations: 0.833 MB / 0.5986 GB, free: 25.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.5978, allocations: 1.008 MB / 0.5996 GB, free: 24.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.5998, allocations: 0.9855 MB / 0.6006 GB, free: 24.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.5998, allocations: 2.016 kB / 0.6006 GB, free: 24.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01547/0.6153, allocations: 5.199 MB / 0.6056 GB, free: 23.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.6154, allocations: 59.92 kB / 0.6057 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.6154, allocations: 7.594 kB / 0.6057 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006717/0.6221, allocations: 1.926 MB / 0.6076 GB, free: 22.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.6241, allocations: 311 kB / 0.6079 GB, free: 22.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.6433, allocations: 8.984 MB / 0.6167 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.6454, allocations: 230.7 kB / 0.6169 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6455, allocations: 63.97 kB / 0.6169 GB, free: 15.82 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006166/0.6462, allocations: 302.6 kB / 0.6172 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.6464, allocations: 130.4 kB / 0.6174 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.6577, allocations: 4.744 MB / 0.622 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6577, allocations: 8 kB / 0.622 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.6577, allocations: 11.94 kB / 0.622 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.6577, allocations: 3.984 kB / 0.622 GB, free: 10.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 postOpt removeSimpleEquations (simulation): time 0.01278/0.6705, allocations: 6.353 MB / 0.6282 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6706, allocations: 4 kB / 0.6282 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.6711, allocations: 104.5 kB / 0.6283 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00506/0.6762, allocations: 1.874 MB / 0.6301 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/0.6763, allocations: 20 kB / 0.6302 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/0.6963, allocations: 9.697 MB / 0.6396 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6964, allocations: 1.125 kB / 0.6396 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.7114, allocations: 5.671 MB / 0.6452 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.7122, allocations: 235.2 kB / 0.6454 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004241/0.7126, allocations: 20 kB / 0.6454 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.7141, allocations: 143.9 kB / 0.6456 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/0.7148, allocations: 205 kB / 0.6457 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.7149, allocations: 24.88 kB / 0.6458 GB, free: 1.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.7165, allocations: 0.7553 MB / 0.6465 GB, free: 1.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7165, allocations: 0 / 0.6465 GB, free: 1.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002195/0.7187, allocations: 479.6 kB / 0.647 GB, free: 0.5703 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003749/0.7191, allocations: 136.4 kB / 0.6471 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007017/0.7261, allocations: 2.851 MB / 0.6499 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.7262, allocations: 4.844 kB / 0.6499 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.7304, allocations: 1.792 MB / 0.6516 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.732, allocations: 113.5 kB / 0.6517 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/0.7376, allocations: 2.812 MB / 0.6545 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009647/0.7386, allocations: 1.128 MB / 0.6556 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.7391, allocations: 87.34 kB / 0.6557 GB, free: 7.559 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7391, allocations: 0 / 0.6557 GB, free: 7.559 MB / 462.1 MB Notification: Performance of Templates: time 0.04232/0.7814, allocations: 23.87 MB / 0.679 GB, free: 15.85 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o] Error 1