Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, 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.515/1.515, allocations: 223.3 MB / 239.7 MB, free: 5.594 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.00144/0.00144, allocations: 172.5 kB / 290.9 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4956/0.4956, allocations: 79.48 MB / 421.5 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003987, allocations: 12 kB / 0.4897 GB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 69.52 MB / 0.5576 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3417/0.5149, allocations: 12.78 MB / 0.5701 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008943/0.5239, allocations: 3.453 MB / 0.5735 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/0.5284, allocations: 31.59 kB / 0.5735 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.5309, allocations: 386.9 kB / 0.5739 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005824/0.5368, allocations: 1.19 MB / 0.575 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.5406, allocations: 1.29 MB / 0.5763 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005632/0.5463, allocations: 3.323 MB / 0.5795 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.5483, allocations: 0.6962 MB / 0.5802 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.5512, allocations: 1.306 MB / 0.5815 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00482/0.5561, allocations: 1.718 MB / 0.5832 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.558, allocations: 141.3 kB / 0.5833 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.5608, allocations: 263.1 kB / 0.5836 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.5628, allocations: 0.5884 MB / 0.5841 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.565, allocations: 0.522 MB / 0.5846 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006009/0.571, allocations: 2.937 MB / 0.5875 GB, free: 25.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.5711, allocations: 0 / 0.5875 GB, free: 25.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5711, allocations: 0 / 0.5875 GB, free: 25.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000232/0.5713, allocations: 2.312 kB / 0.5875 GB, free: 25.47 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.03249/0.6038, allocations: 6.169 MB / 0.5935 GB, free: 23.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.6039, allocations: 9.406 kB / 0.5935 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02332/0.6272, allocations: 2.297 MB / 0.5958 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.6355, allocations: 1.762 MB / 0.5975 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/0.6369, allocations: 0.7546 MB / 0.5982 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.6384, allocations: 219.8 kB / 0.5985 GB, free: 21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.6527, allocations: 3.216 MB / 0.6016 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.565e-05/0.6528, allocations: 0 / 0.6016 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008526/0.6537, allocations: 85.47 kB / 0.6017 GB, free: 19.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.187e-05/0.6538, allocations: 53.42 kB / 0.6017 GB, free: 19.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.6654, allocations: 2.969 MB / 0.6046 GB, free: 18.79 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.03768/0.7032, allocations: 10.11 MB / 0.6145 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01921/0.7224, allocations: 4.854 MB / 0.6192 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007628/0.7301, allocations: 2.155 MB / 0.6213 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/0.7309, allocations: 48.53 kB / 0.6214 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007879/0.7388, allocations: 2.41 MB / 0.6237 GB, free: 8.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 9.568e-06/0.7388, allocations: 0 / 0.6237 GB, free: 8.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1244/0.8633, allocations: 36.29 MB / 0.6592 GB, free: 4.281 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.8634, allocations: 184.2 kB / 0.6594 GB, free: 4.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/0.8685, allocations: 2.261 MB / 0.6616 GB, free: 1.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009392/0.8694, allocations: 77.69 kB / 0.6616 GB, free: 1.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.8707, allocations: 1.176 MB / 0.6628 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001916/0.8726, allocations: 0.8667 MB / 0.6636 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.8736, allocations: 68 kB / 0.6637 GB, free: 15.56 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003727/0.874, allocations: 420.8 kB / 0.6641 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005402/0.8794, allocations: 2.14 MB / 0.6662 GB, free: 13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.8851, allocations: 2.506 MB / 0.6686 GB, free: 10.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/0.8909, allocations: 2.396 MB / 0.671 GB, free: 7.969 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.8909, allocations: 0 / 0.671 GB, free: 7.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04406/0.935, allocations: 15.16 MB / 0.6858 GB, free: 8.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.9352, allocations: 114.8 kB / 0.6859 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.9352, allocations: 8 kB / 0.6859 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01958/0.9548, allocations: 6.362 MB / 0.6921 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.9581, allocations: 0.5617 MB / 0.6927 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06448/1.023, allocations: 25.18 MB / 0.7173 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.028, allocations: 0.5909 MB / 0.7178 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009992/1.029, allocations: 116 kB / 0.7179 GB, free: 7.66 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 (323): * Single equations (assignments): 318 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.002657/1.032, allocations: 0.5188 MB / 0.7185 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/1.033, allocations: 308.2 kB / 0.7187 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04197/1.075, allocations: 14.71 MB / 0.7331 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-05/1.075, allocations: 29.38 kB / 0.7331 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.533e-05/1.076, allocations: 20 kB / 0.7332 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/1.076, allocations: 17.34 kB / 0.7332 GB, free: 7.988 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.05044/1.126, allocations: 18.31 MB / 0.7511 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.126, allocations: 0 / 0.7511 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.128, allocations: 247.6 kB / 0.7513 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01868/1.147, allocations: 6.26 MB / 0.7574 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009616/1.148, allocations: 51.94 kB / 0.7575 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4277/1.575, allocations: 25.51 MB / 0.7824 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.575, allocations: 6.141 kB / 0.7824 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04706/1.622, allocations: 17.26 MB / 0.7992 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.624, allocations: 427.1 kB / 0.7996 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/1.625, allocations: 44.73 kB / 0.7997 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/1.628, allocations: 407.5 kB / 0.8001 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002394/1.63, allocations: 0.5769 MB / 0.8006 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.63, allocations: 65.25 kB / 0.8007 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002706/1.633, allocations: 1.493 MB / 0.8022 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.633, allocations: 1.125 kB / 0.8022 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004456/1.637, allocations: 1.172 MB / 0.8033 GB, free: 161.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004477/1.638, allocations: 171.4 kB / 0.8035 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01959/1.657, allocations: 7.474 MB / 0.8108 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.657, allocations: 0 / 0.8108 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/1.671, allocations: 5.072 MB / 0.8157 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.002648/1.674, allocations: 265.8 kB / 0.816 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009748/1.684, allocations: 6.257 MB / 0.8221 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.685, allocations: 1.812 MB / 0.8239 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.687, allocations: 175.9 kB / 0.824 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.687, allocations: 3.609 kB / 0.824 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07855/1.765, allocations: 63.67 MB / 0.8862 GB, free: 94.78 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIICalcHelperMain.o] Error 1