Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.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_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0009042, 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.442/1.442, allocations: 223.3 MB / 239.7 MB, free: 5.645 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.001373/0.001373, allocations: 176.5 kB / 290.9 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5226/0.5226, allocations: 78.56 MB / 420.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 19.94 kB / 0.4887 GB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1713, allocations: 69.37 MB / 0.5564 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.3737/0.545, allocations: 6.184 MB / 0.5625 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.5493, allocations: 1.961 MB / 0.5644 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.5498, allocations: 11.31 kB / 0.5644 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.5504, allocations: 170.3 kB / 0.5646 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.5521, allocations: 0.6584 MB / 0.5652 GB, free: 36.81 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.001245/0.5534, allocations: 0.5513 MB / 0.5657 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.5548, allocations: 1.434 MB / 0.5671 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.5553, allocations: 272.8 kB / 0.5674 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006697/0.5559, allocations: 0.561 MB / 0.5679 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.5567, allocations: 0.7359 MB / 0.5687 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.5569, allocations: 61.27 kB / 0.5687 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.5574, allocations: 181.1 kB / 0.5689 GB, free: 36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.5577, allocations: 259.1 kB / 0.5691 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.5579, allocations: 234.8 kB / 0.5694 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.559, allocations: 1.246 MB / 0.5706 GB, free: 35.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.559, allocations: 0 / 0.5706 GB, free: 35.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.559, allocations: 0.75 kB / 0.5706 GB, free: 35.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.5591, allocations: 0.5312 kB / 0.5706 GB, free: 35.63 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00709/0.5662, allocations: 2.526 MB / 0.573 GB, free: 34.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5662, allocations: 8.906 kB / 0.5731 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.5708, allocations: 0.7928 MB / 0.5738 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5722, allocations: 0.863 MB / 0.5747 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.5725, allocations: 268.6 kB / 0.5749 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.5727, allocations: 89.06 kB / 0.575 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.5754, allocations: 1.455 MB / 0.5764 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5755, allocations: 5.328 kB / 0.5764 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.73e-05/0.5756, allocations: 31.19 kB / 0.5765 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.5756, allocations: 26.3 kB / 0.5765 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.5775, allocations: 1.058 MB / 0.5775 GB, free: 33.24 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.005484/0.583, allocations: 3.765 MB / 0.5812 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007065/0.5901, allocations: 3.094 MB / 0.5842 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5917, allocations: 0.8249 MB / 0.585 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.5919, allocations: 24.34 kB / 0.5851 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/0.5935, allocations: 0.8116 MB / 0.5858 GB, free: 29.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.637e-06/0.5935, allocations: 3.938 kB / 0.5859 GB, free: 29.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03055/0.6241, allocations: 8.643 MB / 0.5943 GB, free: 27.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002265/0.6244, allocations: 200.1 kB / 0.5945 GB, free: 27.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.6273, allocations: 1.08 MB / 0.5955 GB, free: 27.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003384/0.6277, allocations: 52.05 kB / 0.5956 GB, free: 27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.6282, allocations: 478 kB / 0.596 GB, free: 26.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/0.6287, allocations: 335 kB / 0.5964 GB, free: 26.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6288, allocations: 35.94 kB / 0.5964 GB, free: 26.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.629, allocations: 373.5 kB / 0.5968 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.631, allocations: 0.8071 MB / 0.5975 GB, free: 25.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.6332, allocations: 1.154 MB / 0.5987 GB, free: 25.05 MB / 430.1 MB Notification: The given system is mixed-determined. [index = 2] Notification: Performance of analyzeInitialSystem (initialization): time 0.02192/0.6552, allocations: 6.049 MB / 0.6046 GB, free: 23.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.813e-05/0.6552, allocations: 3.5 kB / 0.6046 GB, free: 23.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01491/0.6701, allocations: 5.222 MB / 0.6097 GB, free: 21.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.6703, allocations: 64.41 kB / 0.6097 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/0.6703, allocations: 11.41 kB / 0.6098 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005998/0.6763, allocations: 1.854 MB / 0.6116 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.6778, allocations: 314.7 kB / 0.6119 GB, free: 20.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.6947, allocations: 8.81 MB / 0.6205 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.6971, allocations: 242.7 kB / 0.6207 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6973, allocations: 71.98 kB / 0.6208 GB, free: 11.72 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.ExcitationSystem.y = 0.0 aVRTypeII.simpleLagLim.state = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 182 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008909/0.6982, allocations: 337.2 kB / 0.6211 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/0.6999, allocations: 0.6924 MB / 0.6218 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.7115, allocations: 4.999 MB / 0.6266 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.7116, allocations: 15.94 kB / 0.6267 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.7116, allocations: 8 kB / 0.6267 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.7116, allocations: 11.97 kB / 0.6267 GB, free: 5.621 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.01344/0.7251, allocations: 6.534 MB / 0.6331 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/0.7251, allocations: 4 kB / 0.6331 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.7257, allocations: 111.8 kB / 0.6332 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005915/0.7316, allocations: 2.006 MB / 0.6351 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.7318, allocations: 28.55 kB / 0.6352 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.7554, allocations: 12.04 MB / 0.6469 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.7555, allocations: 4 kB / 0.6469 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/0.7713, allocations: 6.026 MB / 0.6528 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.772, allocations: 240 kB / 0.653 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.7723, allocations: 27.95 kB / 0.6531 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.7734, allocations: 147.9 kB / 0.6532 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/0.7739, allocations: 172.7 kB / 0.6534 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/0.774, allocations: 35.98 kB / 0.6534 GB, free: 9.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.7752, allocations: 0.7199 MB / 0.6541 GB, free: 8.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7752, allocations: 1.594 kB / 0.6541 GB, free: 8.953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001881/0.7771, allocations: 491.6 kB / 0.6546 GB, free: 8.473 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(20,23.0%) 12} * Non-linear torn systems: 1 {4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.7774, allocations: 141.6 kB / 0.6547 GB, free: 8.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006491/0.7839, allocations: 2.859 MB / 0.6575 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7839, allocations: 0 / 0.6575 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004073/0.788, allocations: 1.588 MB / 0.659 GB, free: 3.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.7903, allocations: 0.595 MB / 0.6596 GB, free: 3.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.7953, allocations: 2.789 MB / 0.6624 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.796, allocations: 1.156 MB / 0.6635 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.7964, allocations: 83.42 kB / 0.6636 GB, free: 15.15 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7964, allocations: 0 / 0.6636 GB, free: 15.15 MB / 478.1 MB Notification: Performance of Templates: time 0.03493/0.8313, allocations: 26.3 MB / 0.6892 GB, free: 4.992 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.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.Discretization.FourthOrder_AVRII_Discretized_ContinuousCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_ContinuousCalcHelperMain.o] Error 1