Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 96.14 kB / 15.87 MB, free: 16 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.44/1.44, allocations: 222.9 MB / 239.5 MB, free: 4.758 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.001624/0.001624, allocations: 192.4 kB / 289.8 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4964/0.4964, allocations: 78.52 MB / 418.4 MB, free: 3.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.89 kB / 497.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1612, allocations: 68.18 MB / 0.5523 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.3525/0.5138, allocations: 6.501 MB / 0.5587 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.5179, allocations: 1.896 MB / 0.5605 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.5186, allocations: 12.97 kB / 0.5605 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.5191, allocations: 161.2 kB / 0.5607 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.5207, allocations: 0.6729 MB / 0.5613 GB, free: 35.38 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.522, allocations: 0.5439 MB / 0.5619 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.5235, allocations: 1.314 MB / 0.5632 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.524, allocations: 258 kB / 0.5634 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.5247, allocations: 0.5358 MB / 0.5639 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.5254, allocations: 0.7072 MB / 0.5646 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.5255, allocations: 66.06 kB / 0.5647 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.526, allocations: 201.8 kB / 0.5649 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.5263, allocations: 255.8 kB / 0.5651 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.5267, allocations: 0.5683 MB / 0.5657 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.5278, allocations: 1.113 MB / 0.5668 GB, free: 34.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5278, allocations: 6.266 kB / 0.5668 GB, free: 34.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5278, allocations: 0 / 0.5668 GB, free: 34.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.5279, allocations: 0.6562 kB / 0.5668 GB, free: 34.42 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007906/0.5358, allocations: 2.49 MB / 0.5692 GB, free: 33.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5358, allocations: 10.12 kB / 0.5692 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.5406, allocations: 0.7625 MB / 0.57 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.5418, allocations: 0.7908 MB / 0.5707 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.542, allocations: 259.9 kB / 0.571 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5422, allocations: 73.69 kB / 0.571 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.5445, allocations: 1.18 MB / 0.5722 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.5445, allocations: 7.359 kB / 0.5722 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/0.5446, allocations: 25.31 kB / 0.5722 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.5446, allocations: 15.75 kB / 0.5722 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5465, allocations: 0.9532 MB / 0.5732 GB, free: 32.74 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.005882/0.5524, allocations: 3.549 MB / 0.5766 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.5593, allocations: 2.302 MB / 0.5789 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.5605, allocations: 0.6602 MB / 0.5795 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.5606, allocations: 18.72 kB / 0.5796 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5607, allocations: 52.38 kB / 0.5796 GB, free: 30.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.365e-06/0.5607, allocations: 3.938 kB / 0.5796 GB, free: 30.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02724/0.5879, allocations: 6.739 MB / 0.5862 GB, free: 29.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.5881, allocations: 98.98 kB / 0.5863 GB, free: 29.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.5903, allocations: 0.9701 MB / 0.5872 GB, free: 28.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.5905, allocations: 41.48 kB / 0.5873 GB, free: 28.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.591, allocations: 456.5 kB / 0.5877 GB, free: 28.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/0.5915, allocations: 319.1 kB / 0.588 GB, free: 28.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007518/0.5922, allocations: 254.6 kB / 0.5882 GB, free: 28.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.5923, allocations: 303 kB / 0.5885 GB, free: 27.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.5942, allocations: 0.6981 MB / 0.5892 GB, free: 27.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.5962, allocations: 0.9134 MB / 0.5901 GB, free: 27.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02416/0.6204, allocations: 5.068 MB / 0.5951 GB, free: 25.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.6204, allocations: 1.438 kB / 0.5951 GB, free: 25.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01518/0.6356, allocations: 4.139 MB / 0.5991 GB, free: 24.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.6357, allocations: 10.5 kB / 0.5991 GB, free: 24.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.6357, allocations: 6.641 kB / 0.5991 GB, free: 24.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.6419, allocations: 1.515 MB / 0.6006 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.6435, allocations: 260.5 kB / 0.6008 GB, free: 24.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02945/0.673, allocations: 7.622 MB / 0.6083 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.6756, allocations: 178.3 kB / 0.6085 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/0.676, allocations: 58.5 kB / 0.6085 GB, free: 20.14 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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.6772, allocations: 261.5 kB / 0.6088 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/0.6788, allocations: 333.2 kB / 0.6091 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.6907, allocations: 3.595 MB / 0.6126 GB, free: 17.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6907, allocations: 15.94 kB / 0.6126 GB, free: 17.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.6908, allocations: 4.5 kB / 0.6126 GB, free: 17.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.6908, allocations: 3.984 kB / 0.6126 GB, free: 17.35 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.0136/0.7044, allocations: 5.122 MB / 0.6176 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.7044, allocations: 4 kB / 0.6176 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.705, allocations: 112.8 kB / 0.6177 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004915/0.7099, allocations: 1.575 MB / 0.6193 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.7101, allocations: 23.92 kB / 0.6193 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/0.7263, allocations: 9.895 MB / 0.629 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7264, allocations: 0 / 0.629 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.7412, allocations: 4.617 MB / 0.6335 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/0.7419, allocations: 209.2 kB / 0.6337 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/0.7423, allocations: 20 kB / 0.6337 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.7437, allocations: 91.89 kB / 0.6338 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/0.7443, allocations: 168.7 kB / 0.6339 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.7445, allocations: 31.92 kB / 0.634 GB, free: 11.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.7456, allocations: 0.6395 MB / 0.6346 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7456, allocations: 3.938 kB / 0.6346 GB, free: 10.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00204/0.7477, allocations: 435.6 kB / 0.635 GB, free: 9.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003699/0.7481, allocations: 131.9 kB / 0.6351 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.7545, allocations: 2.286 MB / 0.6374 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7545, allocations: 0 / 0.6374 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00403/0.7585, allocations: 1.327 MB / 0.6387 GB, free: 6.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.7604, allocations: 335 kB / 0.639 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.7655, allocations: 2.495 MB / 0.6414 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.7663, allocations: 1.077 MB / 0.6425 GB, free: 2.215 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.7667, allocations: 79.41 kB / 0.6425 GB, free: 2.137 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7667, allocations: 4 kB / 0.6425 GB, free: 2.133 MB / 446.1 MB Notification: Performance of Templates: time 0.03118/0.7978, allocations: 21.32 MB / 0.6634 GB, free: 12.99 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_DiscreteCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_DiscreteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_DiscreteCalcHelperMain.o] Error 1