Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009132, allocations: 102.4 kB / 15.71 MB, free: 440 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.435/1.435, allocations: 223.3 MB / 239.7 MB, free: 5.664 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.001437/0.001437, allocations: 180.6 kB / 290.9 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.534/0.534, allocations: 78.56 MB / 420.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 12 kB / 0.4887 GB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 69.35 MB / 0.5564 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.314/0.4779, allocations: 12.92 MB / 0.569 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008716/0.4867, allocations: 3.469 MB / 0.5724 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.4888, allocations: 35.34 kB / 0.5725 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.49, allocations: 396.3 kB / 0.5728 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.4936, allocations: 1.201 MB / 0.574 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.4973, allocations: 1.291 MB / 0.5753 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00597/0.5033, allocations: 3.378 MB / 0.5786 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.5045, allocations: 0.6978 MB / 0.5792 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.5068, allocations: 1.324 MB / 0.5805 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.5084, allocations: 1.741 MB / 0.5822 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.5087, allocations: 141.7 kB / 0.5824 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007108/0.5094, allocations: 276.5 kB / 0.5826 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.5099, allocations: 0.593 MB / 0.5832 GB, free: 27.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.5104, allocations: 0.5226 MB / 0.5837 GB, free: 27.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.5127, allocations: 2.985 MB / 0.5866 GB, free: 26.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5127, allocations: 4 kB / 0.5866 GB, free: 26.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5127, allocations: 0 / 0.5866 GB, free: 26.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.5128, allocations: 0 / 0.5866 GB, free: 26.49 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0194/0.5322, allocations: 6.22 MB / 0.5927 GB, free: 24.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.5323, allocations: 9.188 kB / 0.5927 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.5465, allocations: 2.305 MB / 0.595 GB, free: 23.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.5506, allocations: 1.795 MB / 0.5967 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007047/0.5513, allocations: 0.7476 MB / 0.5975 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.5517, allocations: 215.5 kB / 0.5977 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007169/0.5589, allocations: 3.232 MB / 0.6008 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.559, allocations: 0 / 0.6008 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.5592, allocations: 87.89 kB / 0.6009 GB, free: 20.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.5593, allocations: 48.97 kB / 0.601 GB, free: 20.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.5658, allocations: 2.977 MB / 0.6039 GB, free: 19.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.02094/0.5867, allocations: 10.19 MB / 0.6138 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.5984, allocations: 4.871 MB / 0.6186 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00452/0.603, allocations: 2.174 MB / 0.6207 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.6033, allocations: 43.48 kB / 0.6207 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004893/0.6082, allocations: 2.434 MB / 0.6231 GB, free: 9.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 5.881e-06/0.6083, allocations: 0 / 0.6231 GB, free: 9.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1083/0.7165, allocations: 33.42 MB / 0.6558 GB, free: 7.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.7167, allocations: 180.2 kB / 0.6559 GB, free: 7.719 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/0.7207, allocations: 2.294 MB / 0.6582 GB, free: 5.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009052/0.7216, allocations: 73.7 kB / 0.6582 GB, free: 5.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009878/0.7226, allocations: 1.176 MB / 0.6594 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.724, allocations: 0.8819 MB / 0.6602 GB, free: 3.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.7242, allocations: 60 kB / 0.6603 GB, free: 3.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.7244, allocations: 432.9 kB / 0.6607 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/0.7287, allocations: 2.165 MB / 0.6628 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/0.7333, allocations: 2.525 MB / 0.6653 GB, free: 13.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/0.738, allocations: 2.431 MB / 0.6677 GB, free: 11.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.738, allocations: 5.594 kB / 0.6677 GB, free: 11.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0408/0.7788, allocations: 15.21 MB / 0.6825 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.779, allocations: 118.8 kB / 0.6826 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.779, allocations: 4 kB / 0.6826 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/0.7977, allocations: 6.426 MB / 0.6889 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.8011, allocations: 0.5851 MB / 0.6895 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0577/0.8588, allocations: 25.16 MB / 0.7141 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/0.8639, allocations: 0.5948 MB / 0.7146 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005088/0.8644, allocations: 120 kB / 0.7148 GB, free: 11.07 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-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 (331): * Single equations (assignments): 326 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001507/0.8659, allocations: 0.5303 MB / 0.7153 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/0.8667, allocations: 295.1 kB / 0.7156 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03919/0.9059, allocations: 14.76 MB / 0.73 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.906, allocations: 24 kB / 0.73 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/0.906, allocations: 23.98 kB / 0.73 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.631e-05/0.9061, allocations: 11.95 kB / 0.73 GB, free: 11.31 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.04544/0.9515, allocations: 18.38 MB / 0.748 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.9516, allocations: 0 / 0.748 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.9533, allocations: 251.6 kB / 0.7482 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/0.971, allocations: 6.281 MB / 0.7544 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007636/0.9718, allocations: 52.92 kB / 0.7544 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4047/1.376, allocations: 25.49 MB / 0.7793 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.377, allocations: 3.844 kB / 0.7793 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04715/1.424, allocations: 17.33 MB / 0.7962 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.425, allocations: 428.3 kB / 0.7966 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009361/1.426, allocations: 47.41 kB / 0.7967 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003371/1.43, allocations: 405.7 kB / 0.7971 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002484/1.432, allocations: 0.577 MB / 0.7976 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002591/1.432, allocations: 65.77 kB / 0.7977 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002983/1.435, allocations: 1.514 MB / 0.7992 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.435, allocations: 0 / 0.7992 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00506/1.44, allocations: 1.188 MB / 0.8003 GB, free: 162.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005541/1.441, allocations: 170.4 kB / 0.8005 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02052/1.462, allocations: 7.535 MB / 0.8078 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.462, allocations: 1.75 kB / 0.8078 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0147/1.476, allocations: 5.103 MB / 0.8128 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.48, allocations: 262.2 kB / 0.8131 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.492, allocations: 6.455 MB / 0.8194 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.493, allocations: 1.817 MB / 0.8212 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.494, allocations: 178 kB / 0.8213 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.494, allocations: 4 kB / 0.8213 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07383/1.568, allocations: 64.2 MB / 0.884 GB, free: 97.22 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIICalcHelperMain.o] Error 1