Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001105/0.001105, allocations: 96.14 kB / 15.87 MB, free: 16 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.414/1.414, allocations: 222.9 MB / 239.5 MB, free: 4.773 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.001881/0.001881, allocations: 208.4 kB / 289.8 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4833/0.4833, allocations: 78.51 MB / 418.4 MB, free: 3.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 75.88 kB / 497.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 68.18 MB / 0.5523 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.3217/0.4919, allocations: 14.6 MB / 0.5666 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008719/0.5007, allocations: 3.664 MB / 0.5702 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003941/0.5046, allocations: 29.97 kB / 0.5702 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.5066, allocations: 439.5 kB / 0.5706 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00525/0.5118, allocations: 1.243 MB / 0.5718 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.5156, allocations: 1.43 MB / 0.5732 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004961/0.5205, allocations: 3.61 MB / 0.5767 GB, free: 28.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.5224, allocations: 0.7966 MB / 0.5775 GB, free: 28.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.5252, allocations: 1.433 MB / 0.5789 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/0.5284, allocations: 1.902 MB / 0.5808 GB, free: 27.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.5297, allocations: 180.4 kB / 0.5809 GB, free: 27.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.5317, allocations: 318.3 kB / 0.5812 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.533, allocations: 0.6727 MB / 0.5819 GB, free: 26.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.536, allocations: 1.543 MB / 0.5834 GB, free: 25.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.5389, allocations: 3.071 MB / 0.5864 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5389, allocations: 0 / 0.5864 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5389, allocations: 0 / 0.5864 GB, free: 24.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.151e-05/0.539, allocations: 2.875 kB / 0.5864 GB, free: 24.61 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.02582/0.5648, allocations: 6.677 MB / 0.5929 GB, free: 21.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.5649, allocations: 9.562 kB / 0.5929 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.5804, allocations: 2.281 MB / 0.5952 GB, free: 21.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004736/0.5852, allocations: 1.909 MB / 0.597 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007238/0.5859, allocations: 0.7278 MB / 0.5977 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/0.5865, allocations: 220.9 kB / 0.598 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007858/0.5943, allocations: 3.052 MB / 0.6009 GB, free: 18.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.5944, allocations: 1.734 kB / 0.6009 GB, free: 18.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.5947, allocations: 90.66 kB / 0.601 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.5947, allocations: 49.5 kB / 0.6011 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007101/0.6018, allocations: 2.801 MB / 0.6038 GB, free: 17.43 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.02345/0.6253, allocations: 9.965 MB / 0.6135 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.637, allocations: 4.224 MB / 0.6177 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/0.6416, allocations: 1.984 MB / 0.6196 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/0.642, allocations: 44.23 kB / 0.6196 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004703/0.6467, allocations: 2.256 MB / 0.6218 GB, free: 7.637 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.739e-06/0.6467, allocations: 0 / 0.6218 GB, free: 7.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.122/0.7687, allocations: 28.82 MB / 0.65 GB, free: 10.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.7689, allocations: 180.2 kB / 0.6502 GB, free: 10.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/0.7729, allocations: 2.341 MB / 0.6525 GB, free: 8.359 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008609/0.7738, allocations: 69.7 kB / 0.6525 GB, free: 8.285 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009652/0.7747, allocations: 1.172 MB / 0.6537 GB, free: 7.102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.776, allocations: 0.8858 MB / 0.6545 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.7772, allocations: 0.5699 MB / 0.6551 GB, free: 5.625 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7773, allocations: 305.1 kB / 0.6554 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/0.7816, allocations: 1.99 MB / 0.6573 GB, free: 3.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/0.7862, allocations: 2.358 MB / 0.6596 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05709/0.8433, allocations: 14.38 MB / 0.6737 GB, free: 2.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.8434, allocations: 7.938 kB / 0.6737 GB, free: 2.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04256/0.886, allocations: 12.61 MB / 0.686 GB, free: 5.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.8862, allocations: 115.4 kB / 0.6861 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/0.8862, allocations: 8.562 kB / 0.6861 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02008/0.9063, allocations: 5.434 MB / 0.6914 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.9098, allocations: 0.5812 MB / 0.692 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06163/0.9715, allocations: 21.75 MB / 0.7132 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/0.9777, allocations: 0.4892 MB / 0.7137 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/0.9791, allocations: 116 kB / 0.7138 GB, free: 8.938 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.003632/0.9828, allocations: 0.5398 MB / 0.7143 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/0.9848, allocations: 300.2 kB / 0.7146 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04323/1.028, allocations: 11.95 MB / 0.7263 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/1.028, allocations: 25.97 kB / 0.7263 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001034/1.028, allocations: 20.94 kB / 0.7263 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/1.028, allocations: 15.94 kB / 0.7263 GB, free: 11.97 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.05014/1.079, allocations: 15.59 MB / 0.7416 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/1.079, allocations: 0 / 0.7416 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.08, allocations: 243.7 kB / 0.7418 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01831/1.099, allocations: 5.295 MB / 0.747 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009022/1.1, allocations: 55.98 kB / 0.747 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4072/1.507, allocations: 22.67 MB / 0.7692 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.507, allocations: 0.875 kB / 0.7692 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04426/1.551, allocations: 14.34 MB / 0.7832 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.553, allocations: 413.8 kB / 0.7836 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009302/1.554, allocations: 47.94 kB / 0.7836 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.557, allocations: 296 kB / 0.7839 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002354/1.559, allocations: 0.5735 MB / 0.7845 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.56, allocations: 68 kB / 0.7845 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002905/1.563, allocations: 1.544 MB / 0.786 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.563, allocations: 0 / 0.786 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004963/1.568, allocations: 1.191 MB / 0.7872 GB, free: 164.7 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005438/1.568, allocations: 182.2 kB / 0.7874 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01941/1.588, allocations: 6.679 MB / 0.7939 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.588, allocations: 0 / 0.7939 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01568/1.603, allocations: 4.419 MB / 0.7982 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/1.608, allocations: 262.6 kB / 0.7984 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.623, allocations: 6.693 MB / 0.805 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/1.625, allocations: 1.824 MB / 0.8068 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.627, allocations: 175.4 kB / 0.8069 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.627, allocations: 0 / 0.8069 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.09568/1.723, allocations: 64.62 MB / 0.87 GB, free: 109.2 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.o] Error 1