Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 102.1 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.567/1.567, allocations: 223.3 MB / 239.7 MB, free: 5.598 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.001115/0.001115, allocations: 176.5 kB / 290.9 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4952/0.4952, allocations: 79.47 MB / 421.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 8 kB / 0.4897 GB, free: 5.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4122, allocations: 69.52 MB / 0.5576 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007924/0.4202, allocations: 6.002 MB / 0.5635 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005612/0.4258, allocations: 1.917 MB / 0.5654 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.4265, allocations: 13.56 kB / 0.5654 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.4272, allocations: 164.3 kB / 0.5655 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.4291, allocations: 0.6575 MB / 0.5662 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.4302, allocations: 0.5212 MB / 0.5667 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.4316, allocations: 1.412 MB / 0.5681 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.4321, allocations: 262.9 kB / 0.5683 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.4326, allocations: 0.5629 MB / 0.5689 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006788/0.4333, allocations: 0.724 MB / 0.5696 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.4334, allocations: 57.72 kB / 0.5696 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.4338, allocations: 183.4 kB / 0.5698 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.4341, allocations: 251.1 kB / 0.57 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.4343, allocations: 232.1 kB / 0.5703 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.4353, allocations: 1.225 MB / 0.5715 GB, free: 35.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4353, allocations: 0 / 0.5715 GB, free: 35.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4353, allocations: 0 / 0.5715 GB, free: 35.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.4354, allocations: 1.625 kB / 0.5715 GB, free: 35.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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006786/0.4422, allocations: 2.504 MB / 0.5739 GB, free: 34.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4422, allocations: 8.344 kB / 0.5739 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.4467, allocations: 0.789 MB / 0.5747 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.4482, allocations: 0.839 MB / 0.5755 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.4485, allocations: 264.1 kB / 0.5758 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.4487, allocations: 91.55 kB / 0.5758 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.4508, allocations: 1.145 MB / 0.577 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4509, allocations: 0.625 kB / 0.577 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/0.451, allocations: 29.5 kB / 0.577 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.451, allocations: 22.7 kB / 0.577 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.4531, allocations: 1.046 MB / 0.578 GB, free: 32.53 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.006762/0.4598, allocations: 3.932 MB / 0.5819 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0071/0.467, allocations: 2.911 MB / 0.5847 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.4687, allocations: 0.7371 MB / 0.5854 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.4689, allocations: 14.98 kB / 0.5854 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.4707, allocations: 0.8783 MB / 0.5863 GB, free: 28.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 6.032e-06/0.4708, allocations: 0 / 0.5863 GB, free: 28.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03008/0.5008, allocations: 8.636 MB / 0.5947 GB, free: 27.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.5009, allocations: 118.4 kB / 0.5949 GB, free: 27.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/0.5036, allocations: 1.074 MB / 0.5959 GB, free: 26.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.5039, allocations: 41.83 kB / 0.5959 GB, free: 26.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/0.5044, allocations: 495.2 kB / 0.5964 GB, free: 26.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/0.5049, allocations: 359.5 kB / 0.5968 GB, free: 25.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.5052, allocations: 32.84 kB / 0.5968 GB, free: 25.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5053, allocations: 361.2 kB / 0.5971 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.5074, allocations: 0.8214 MB / 0.5979 GB, free: 25.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.5097, allocations: 0.9915 MB / 0.5989 GB, free: 24.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.5119, allocations: 0.9541 MB / 0.5998 GB, free: 24.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.5119, allocations: 5.609 kB / 0.5998 GB, free: 24.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01597/0.5279, allocations: 5.156 MB / 0.6049 GB, free: 23.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.39e-05/0.528, allocations: 64.48 kB / 0.6049 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.5281, allocations: 2.672 kB / 0.6049 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006792/0.5349, allocations: 1.898 MB / 0.6068 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.5366, allocations: 298 kB / 0.6071 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/0.5574, allocations: 9.021 MB / 0.6159 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.5596, allocations: 234.7 kB / 0.6161 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/0.56, allocations: 59.97 kB / 0.6162 GB, free: 16.54 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis 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 (164): * Single equations (assignments): 161 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009886/0.561, allocations: 308.1 kB / 0.6165 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004559/0.5614, allocations: 126.5 kB / 0.6166 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.5732, allocations: 4.709 MB / 0.6212 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.5732, allocations: 13.78 kB / 0.6212 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/0.5732, allocations: 8 kB / 0.6212 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.5733, allocations: 11.92 kB / 0.6212 GB, free: 11.34 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.01457/0.5879, allocations: 6.297 MB / 0.6274 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.5879, allocations: 4.969 kB / 0.6274 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.5886, allocations: 101.8 kB / 0.6275 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005064/0.5937, allocations: 1.868 MB / 0.6293 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.5939, allocations: 20 kB / 0.6293 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/0.6132, allocations: 9.671 MB / 0.6387 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6133, allocations: 0 / 0.6387 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.6286, allocations: 5.639 MB / 0.6443 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/0.6294, allocations: 224.2 kB / 0.6445 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/0.63, allocations: 20 kB / 0.6445 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.6315, allocations: 147.9 kB / 0.6446 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008537/0.6323, allocations: 192.7 kB / 0.6448 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.6326, allocations: 24 kB / 0.6448 GB, free: 2.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001521/0.6341, allocations: 0.7157 MB / 0.6455 GB, free: 1.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6341, allocations: 7.938 kB / 0.6455 GB, free: 1.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00235/0.6365, allocations: 483.6 kB / 0.646 GB, free: 1.488 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000399/0.6369, allocations: 132.1 kB / 0.6461 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.644, allocations: 2.783 MB / 0.6488 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.644, allocations: 4 kB / 0.6489 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.6486, allocations: 1.798 MB / 0.6506 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.6505, allocations: 122.9 kB / 0.6507 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.6562, allocations: 2.684 MB / 0.6533 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.6575, allocations: 1.124 MB / 0.6544 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.658, allocations: 79.42 kB / 0.6545 GB, free: 8.668 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.658, allocations: 0 / 0.6545 GB, free: 8.668 MB / 462.1 MB Notification: Performance of Templates: time 0.04405/0.7021, allocations: 23.38 MB / 0.6774 GB, free: 1.449 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRIICalcHelperMain.o] Error 1