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.001/0.001001, allocations: 101.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.468/1.468, allocations: 223.3 MB / 239.7 MB, free: 5.633 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.001277/0.001277, allocations: 176.5 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5556/0.5556, allocations: 78.56 MB / 420.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004318, allocations: 16 kB / 0.4887 GB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 69.36 MB / 0.5564 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.3932/0.5682, allocations: 12.96 MB / 0.5691 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.5785, allocations: 3.489 MB / 0.5725 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006218/0.5848, allocations: 32.28 kB / 0.5725 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.5874, allocations: 395.5 kB / 0.5729 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00655/0.5939, allocations: 1.206 MB / 0.5741 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.5981, allocations: 1.296 MB / 0.5753 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006767/0.6049, allocations: 3.408 MB / 0.5787 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.6071, allocations: 0.6927 MB / 0.5793 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.6106, allocations: 1.328 MB / 0.5806 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.6149, allocations: 1.762 MB / 0.5824 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.6166, allocations: 144.4 kB / 0.5825 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.6188, allocations: 274.9 kB / 0.5828 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.6194, allocations: 0.6035 MB / 0.5834 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.6204, allocations: 0.528 MB / 0.5839 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.6235, allocations: 2.994 MB / 0.5868 GB, free: 26.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.6236, allocations: 7.938 kB / 0.5868 GB, free: 26.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6236, allocations: 0 / 0.5868 GB, free: 26.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.6237, allocations: 0 / 0.5868 GB, free: 26.24 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.02161/0.6453, allocations: 6.264 MB / 0.5929 GB, free: 23.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/0.6454, allocations: 8.656 kB / 0.5929 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.6613, allocations: 2.292 MB / 0.5952 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.6673, allocations: 1.805 MB / 0.5969 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008624/0.6682, allocations: 0.7608 MB / 0.5977 GB, free: 21.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007768/0.669, allocations: 219.8 kB / 0.5979 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008427/0.6774, allocations: 3.234 MB / 0.601 GB, free: 20.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.6775, allocations: 1.359 kB / 0.601 GB, free: 20.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.6777, allocations: 82.22 kB / 0.6011 GB, free: 20.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.6778, allocations: 53.52 kB / 0.6012 GB, free: 20.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007446/0.6853, allocations: 2.993 MB / 0.6041 GB, free: 19.51 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.02825/0.7136, allocations: 10.21 MB / 0.6141 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.727, allocations: 4.899 MB / 0.6188 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005388/0.7324, allocations: 2.172 MB / 0.621 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.733, allocations: 39.5 kB / 0.621 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006119/0.7392, allocations: 2.45 MB / 0.6234 GB, free: 9.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 1.038e-05/0.7392, allocations: 0 / 0.6234 GB, free: 9.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1188/0.8581, allocations: 35.36 MB / 0.6579 GB, free: 5.629 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.8582, allocations: 184.2 kB / 0.6581 GB, free: 5.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/0.8639, allocations: 2.314 MB / 0.6604 GB, free: 3.078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001032/0.8649, allocations: 75.11 kB / 0.6604 GB, free: 3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.8662, allocations: 1.176 MB / 0.6616 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.8681, allocations: 0.878 MB / 0.6624 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/0.869, allocations: 68 kB / 0.6625 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003364/0.8693, allocations: 437 kB / 0.6629 GB, free: 432 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005632/0.875, allocations: 2.166 MB / 0.665 GB, free: 14.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/0.8806, allocations: 2.549 MB / 0.6675 GB, free: 11.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/0.8857, allocations: 2.44 MB / 0.6699 GB, free: 9.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.8857, allocations: 0 / 0.6699 GB, free: 9.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04274/0.9284, allocations: 15.32 MB / 0.6849 GB, free: 9.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.9286, allocations: 118.8 kB / 0.685 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.9287, allocations: 15.94 kB / 0.685 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/0.949, allocations: 6.493 MB / 0.6913 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.9524, allocations: 0.5734 MB / 0.6919 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06706/1.02, allocations: 26.52 MB / 0.7178 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.026, allocations: 0.5909 MB / 0.7184 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005575/1.026, allocations: 116.8 kB / 0.7185 GB, free: 7.035 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.001665/1.028, allocations: 0.5352 MB / 0.719 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007873/1.029, allocations: 304.2 kB / 0.7193 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0484/1.077, allocations: 14.78 MB / 0.7337 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/1.077, allocations: 24 kB / 0.7338 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-05/1.077, allocations: 24 kB / 0.7338 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-05/1.077, allocations: 11.95 kB / 0.7338 GB, free: 7.25 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.06033/1.138, allocations: 18.41 MB / 0.7518 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/1.138, allocations: 9.328 kB / 0.7518 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.14, allocations: 247.6 kB / 0.752 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01963/1.159, allocations: 6.268 MB / 0.7581 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009562/1.16, allocations: 53.39 kB / 0.7582 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3901/1.551, allocations: 25.5 MB / 0.7831 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.551, allocations: 0.7812 kB / 0.7831 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04835/1.599, allocations: 17.35 MB / 0.8 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.601, allocations: 421.8 kB / 0.8004 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.602, allocations: 44.61 kB / 0.8005 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/1.605, allocations: 412.4 kB / 0.8009 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002628/1.607, allocations: 0.5759 MB / 0.8014 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.608, allocations: 68.27 kB / 0.8015 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002873/1.611, allocations: 1.52 MB / 0.803 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/1.611, allocations: 1.156 kB / 0.803 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005231/1.616, allocations: 1.194 MB / 0.8041 GB, free: 162.9 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.0005659/1.616, allocations: 181.6 kB / 0.8043 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02105/1.637, allocations: 7.698 MB / 0.8118 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.638, allocations: 1.375 kB / 0.8118 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01414/1.652, allocations: 5.103 MB / 0.8168 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.655, allocations: 266.3 kB / 0.8171 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.666, allocations: 6.552 MB / 0.8235 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.667, allocations: 1.822 MB / 0.8253 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.669, allocations: 174 kB / 0.8254 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.669, allocations: 3.969 kB / 0.8254 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.1044/1.773, allocations: 70.06 MB / 0.8938 GB, free: 87.19 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++ 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_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