Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 100.5 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.498/1.498, 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.001055/0.001055, allocations: 180.5 kB / 290.9 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5299/0.5299, allocations: 79.48 MB / 421.5 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 16 kB / 0.4897 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 69.51 MB / 0.5576 GB, free: 36 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.3605/0.5311, allocations: 20.89 MB / 0.578 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.5467, allocations: 4.935 MB / 0.5828 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006854/0.5536, allocations: 49.72 kB / 0.5829 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004337/0.5579, allocations: 0.6122 MB / 0.5835 GB, free: 24.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009466/0.5674, allocations: 1.749 MB / 0.5852 GB, free: 23.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.5728, allocations: 1.766 MB / 0.5869 GB, free: 22.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008779/0.5816, allocations: 5.174 MB / 0.592 GB, free: 19.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.5845, allocations: 1.052 MB / 0.593 GB, free: 19.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.5884, allocations: 2.005 MB / 0.595 GB, free: 18.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004894/0.5933, allocations: 2.583 MB / 0.5975 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.5952, allocations: 234.2 kB / 0.5977 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.5983, allocations: 369 kB / 0.5981 GB, free: 17.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.6003, allocations: 0.9018 MB / 0.5989 GB, free: 16.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.6027, allocations: 0.8393 MB / 0.5998 GB, free: 16.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.6088, allocations: 4.628 MB / 0.6043 GB, free: 14.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.6088, allocations: 0 / 0.6043 GB, free: 14.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6088, allocations: 0 / 0.6043 GB, free: 14.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002902/0.6091, allocations: 0.8438 kB / 0.6043 GB, free: 14.74 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03179/0.6409, allocations: 8.447 MB / 0.6125 GB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.641, allocations: 9.359 kB / 0.6125 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02769/0.6687, allocations: 4.051 MB / 0.6165 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008314/0.6771, allocations: 2.497 MB / 0.6189 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/0.6784, allocations: 0.9872 MB / 0.6199 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.6803, allocations: 349.3 kB / 0.6202 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.6916, allocations: 4.962 MB / 0.6251 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-05/0.6917, allocations: 4 kB / 0.6251 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/0.6921, allocations: 142.4 kB / 0.6252 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.917e-05/0.6921, allocations: 87.94 kB / 0.6253 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008398/0.7006, allocations: 4.48 MB / 0.6297 GB, free: 3.125 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.03323/0.7338, allocations: 18.84 MB / 0.6481 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.7457, allocations: 5.723 MB / 0.6537 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006103/0.7518, allocations: 3.033 MB / 0.6566 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.7524, allocations: 70.91 kB / 0.6567 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006529/0.7589, allocations: 3.424 MB / 0.66 GB, free: 2.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=383): time 5.4e-06/0.759, allocations: 0 / 0.66 GB, free: 2.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=383): time 0.2801/1.039, allocations: 81.24 MB / 0.7394 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.039, allocations: 145.8 kB / 0.7395 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005965/1.045, allocations: 3.183 MB / 0.7426 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0017/1.047, allocations: 89.7 kB / 0.7427 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.049, allocations: 1.966 MB / 0.7446 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002483/1.051, allocations: 1.313 MB / 0.7459 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.052, allocations: 88 kB / 0.746 GB, free: 10.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.052, allocations: 463 kB / 0.7464 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005554/1.057, allocations: 2.833 MB / 0.7492 GB, free: 7.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005878/1.063, allocations: 3.459 MB / 0.7526 GB, free: 3.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/1.069, allocations: 3.112 MB / 0.7556 GB, free: 320 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/1.069, allocations: 4 kB / 0.7556 GB, free: 316 kB / 0.545 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.4126/1.482, allocations: 20.72 MB / 0.7759 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/1.482, allocations: 62.81 kB / 0.7759 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.026e-05/1.482, allocations: 15.08 kB / 0.7759 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02526/1.507, allocations: 8.606 MB / 0.7843 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/1.511, allocations: 0.675 MB / 0.785 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08725/1.598, allocations: 35.38 MB / 0.8196 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006315/1.604, allocations: 0.7578 MB / 0.8203 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007923/1.605, allocations: 153.9 kB / 0.8204 GB, free: 149.5 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (401): * Single equations (assignments): 398 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001748/1.607, allocations: 0.677 MB / 0.8211 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.608, allocations: 454.8 kB / 0.8215 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05016/1.658, allocations: 20.61 MB / 0.8417 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/1.658, allocations: 40 kB / 0.8417 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-05/1.658, allocations: 29.69 kB / 0.8417 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/1.658, allocations: 19.27 kB / 0.8417 GB, free: 137.8 MB / 0.5606 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.05943/1.718, allocations: 25.61 MB / 0.8668 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/1.718, allocations: 0.625 kB / 0.8668 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/1.72, allocations: 387.5 kB / 0.8671 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02419/1.744, allocations: 8.674 MB / 0.8756 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001268/1.746, allocations: 71.98 kB / 0.8757 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06613/1.812, allocations: 32.68 MB / 0.9076 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.812, allocations: 2.625 kB / 0.9076 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05713/1.869, allocations: 24.21 MB / 0.9312 GB, free: 46.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.871, allocations: 0.5571 MB / 0.9318 GB, free: 45.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/1.873, allocations: 68 kB / 0.9318 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005919/1.879, allocations: 0.5121 MB / 0.9323 GB, free: 45.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003808/1.883, allocations: 0.7802 MB / 0.9331 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005149/1.884, allocations: 95.98 kB / 0.9332 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003105/1.887, allocations: 2.07 MB / 0.9352 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/1.887, allocations: 2.531 kB / 0.9352 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007366/1.894, allocations: 1.806 MB / 0.937 GB, free: 40.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000807/1.895, allocations: 189.9 kB / 0.9372 GB, free: 40.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02376/1.919, allocations: 10.26 MB / 0.9472 GB, free: 29.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.919, allocations: 0 / 0.9472 GB, free: 29.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01739/1.936, allocations: 7.018 MB / 0.954 GB, free: 22.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/1.94, allocations: 385.8 kB / 0.9544 GB, free: 22.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.954, allocations: 9.376 MB / 0.9636 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.956, allocations: 2.443 MB / 0.9659 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/1.957, allocations: 263.4 kB / 0.9662 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/1.957, allocations: 0 / 0.9662 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.4707/2.428, allocations: 87.95 MB / 1.052 GB, free: 147.4 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRIICalcHelperMain.o] Error 1