Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 102.6 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.472/1.472, 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.001493/0.001493, allocations: 188.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.5065/0.5065, allocations: 79.48 MB / 421.5 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.000443, allocations: 12 kB / 0.4897 GB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 69.52 MB / 0.5576 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.3296/0.5065, allocations: 12.99 MB / 0.5703 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008555/0.5151, allocations: 3.507 MB / 0.5737 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.5184, allocations: 30.59 kB / 0.5738 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.5206, allocations: 391.3 kB / 0.5741 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.5261, allocations: 1.217 MB / 0.5753 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.5299, allocations: 1.287 MB / 0.5766 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006382/0.5362, allocations: 3.409 MB / 0.5799 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.5382, allocations: 0.6956 MB / 0.5806 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.5412, allocations: 1.337 MB / 0.5819 GB, free: 27.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.5443, allocations: 1.758 MB / 0.5836 GB, free: 26.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.5456, allocations: 144.1 kB / 0.5837 GB, free: 26.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.5474, allocations: 277.3 kB / 0.584 GB, free: 26.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.5485, allocations: 0.6015 MB / 0.5846 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.5499, allocations: 0.5273 MB / 0.5851 GB, free: 26.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.5531, allocations: 2.991 MB / 0.588 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5531, allocations: 3.938 kB / 0.588 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5531, allocations: 4 kB / 0.588 GB, free: 25.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.859e-05/0.5532, allocations: 0 / 0.588 GB, free: 25.23 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02083/0.574, allocations: 6.261 MB / 0.5942 GB, free: 22.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.5741, allocations: 13.12 kB / 0.5942 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/0.5979, allocations: 2.299 MB / 0.5964 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007236/0.6052, allocations: 1.798 MB / 0.5982 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.6063, allocations: 0.7543 MB / 0.5989 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/0.6077, allocations: 223.6 kB / 0.5991 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.6188, allocations: 3.236 MB / 0.6023 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.067e-05/0.619, allocations: 0.6562 kB / 0.6023 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000646/0.6196, allocations: 81.95 kB / 0.6024 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.011e-05/0.6197, allocations: 53.73 kB / 0.6024 GB, free: 19.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008299/0.628, allocations: 2.99 MB / 0.6053 GB, free: 18.5 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.02658/0.6546, allocations: 10.21 MB / 0.6153 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.667, allocations: 4.9 MB / 0.6201 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005064/0.6721, allocations: 2.18 MB / 0.6222 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/0.6728, allocations: 35.72 kB / 0.6223 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005985/0.6788, allocations: 2.452 MB / 0.6246 GB, free: 7.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 9.768e-06/0.6788, allocations: 4 kB / 0.6247 GB, free: 7.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1201/0.7989, allocations: 35.35 MB / 0.6592 GB, free: 4.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.7991, allocations: 184.2 kB / 0.6594 GB, free: 4.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/0.8045, allocations: 2.31 MB / 0.6616 GB, free: 1.754 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/0.8055, allocations: 73.69 kB / 0.6617 GB, free: 1.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.8068, allocations: 1.176 MB / 0.6628 GB, free: 500 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001917/0.8088, allocations: 0.878 MB / 0.6637 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/0.8097, allocations: 68 kB / 0.6637 GB, free: 15.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003391/0.8101, allocations: 437 kB / 0.6642 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005347/0.8154, allocations: 2.169 MB / 0.6663 GB, free: 12.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/0.8207, allocations: 2.553 MB / 0.6688 GB, free: 10.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005202/0.8259, allocations: 2.44 MB / 0.6712 GB, free: 7.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.8259, allocations: 3.953 kB / 0.6712 GB, free: 7.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04213/0.8681, allocations: 15.31 MB / 0.6861 GB, free: 8.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.8682, allocations: 119.5 kB / 0.6862 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.8682, allocations: 8.5 kB / 0.6862 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02027/0.8885, allocations: 6.504 MB / 0.6926 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.892, allocations: 0.5656 MB / 0.6931 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06669/0.9587, allocations: 26.53 MB / 0.719 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/0.9648, allocations: 0.5948 MB / 0.7196 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/0.966, allocations: 116 kB / 0.7197 GB, free: 5.711 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 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.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 (334): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002736/0.9687, allocations: 0.5374 MB / 0.7203 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/0.9703, allocations: 300.2 kB / 0.7205 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04244/1.013, allocations: 14.78 MB / 0.735 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/1.013, allocations: 24 kB / 0.735 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.158e-05/1.013, allocations: 20 kB / 0.735 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/1.013, allocations: 15.95 kB / 0.735 GB, free: 5.926 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.0526/1.066, allocations: 18.41 MB / 0.753 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/1.066, allocations: 0 / 0.753 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.068, allocations: 255.7 kB / 0.7533 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/1.087, allocations: 6.262 MB / 0.7594 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001218/1.088, allocations: 55.98 kB / 0.7594 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4326/1.521, allocations: 25.49 MB / 0.7843 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.521, allocations: 3.547 kB / 0.7843 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04917/1.57, allocations: 17.35 MB / 0.8013 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.571, allocations: 419.6 kB / 0.8017 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000848/1.572, allocations: 48.05 kB / 0.8017 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/1.576, allocations: 409.6 kB / 0.8021 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00258/1.578, allocations: 0.5772 MB / 0.8027 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.578, allocations: 69.78 kB / 0.8027 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00306/1.581, allocations: 1.519 MB / 0.8042 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.581, allocations: 0 / 0.8042 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006786/1.588, allocations: 1.203 MB / 0.8054 GB, free: 162.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006902/1.589, allocations: 168.2 kB / 0.8056 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02142/1.61, allocations: 7.7 MB / 0.8131 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.61, allocations: 0 / 0.8131 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01383/1.624, allocations: 5.102 MB / 0.8181 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.627, allocations: 265.3 kB / 0.8183 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/1.637, allocations: 6.557 MB / 0.8247 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.639, allocations: 1.82 MB / 0.8265 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.64, allocations: 179.1 kB / 0.8267 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/1.64, allocations: 0 / 0.8267 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07878/1.719, allocations: 70.07 MB / 0.8951 GB, free: 85.33 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.o] Error 1