Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009699/0.009699, allocations: 100.9 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 222.9 MB / 239.5 MB, free: 4.832 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.001686/0.001686, allocations: 192.2 kB / 289.8 MB, free: 2.562 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5073/0.5073, allocations: 78.53 MB / 418.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.88 kB / 497.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1802, allocations: 68.19 MB / 0.5523 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.3638/0.544, allocations: 5.167 MB / 0.5574 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003643/0.5478, allocations: 1.637 MB / 0.559 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.5482, allocations: 7.875 kB / 0.559 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.5487, allocations: 125.9 kB / 0.5591 GB, free: 36.28 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001652/0.5504, allocations: 0.5883 MB / 0.5597 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5515, allocations: 388 kB / 0.56 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.5527, allocations: 1.015 MB / 0.561 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.5531, allocations: 186.8 kB / 0.5612 GB, free: 36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.5537, allocations: 394.3 kB / 0.5616 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.5543, allocations: 0.5213 MB / 0.5621 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.5545, allocations: 53.19 kB / 0.5621 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.555, allocations: 182.1 kB / 0.5623 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.5552, allocations: 185.2 kB / 0.5625 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.5556, allocations: 430.3 kB / 0.5629 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.5567, allocations: 0.9718 MB / 0.5638 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5567, allocations: 0 / 0.5638 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5567, allocations: 0.6562 kB / 0.5638 GB, free: 35.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.5568, allocations: 2.344 kB / 0.5639 GB, free: 35.46 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00558/0.5624, allocations: 1.752 MB / 0.5656 GB, free: 34.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.5624, allocations: 10.75 kB / 0.5656 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.5657, allocations: 0.5238 MB / 0.5661 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.5667, allocations: 0.6505 MB / 0.5667 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.5668, allocations: 136.2 kB / 0.5668 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.567, allocations: 55.81 kB / 0.5669 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.5683, allocations: 0.6548 MB / 0.5675 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5683, allocations: 3.656 kB / 0.5675 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.5684, allocations: 18.75 kB / 0.5676 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5684, allocations: 11.16 kB / 0.5676 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.5696, allocations: 0.6304 MB / 0.5682 GB, free: 34.21 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.004464/0.5741, allocations: 2.641 MB / 0.5708 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.5859, allocations: 2.817 MB / 0.5735 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.5872, allocations: 448.2 kB / 0.5739 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/0.5873, allocations: 10.2 kB / 0.574 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.5874, allocations: 40.98 kB / 0.574 GB, free: 33.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.607e-06/0.5874, allocations: 0 / 0.574 GB, free: 33.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01219/0.5996, allocations: 3.52 MB / 0.5774 GB, free: 32.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5996, allocations: 57.38 kB / 0.5775 GB, free: 32.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.6009, allocations: 0.7714 MB / 0.5782 GB, free: 32.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.601, allocations: 32.95 kB / 0.5783 GB, free: 32.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.6012, allocations: 356 kB / 0.5786 GB, free: 32.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.6015, allocations: 209.1 kB / 0.5788 GB, free: 32.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.6018, allocations: 170.8 kB / 0.579 GB, free: 32.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6019, allocations: 397.2 kB / 0.5794 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.603, allocations: 0.4929 MB / 0.5798 GB, free: 31.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.6042, allocations: 0.5965 MB / 0.5804 GB, free: 31.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/0.6201, allocations: 3.563 MB / 0.5839 GB, free: 30.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.6201, allocations: 1.125 kB / 0.5839 GB, free: 30.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007483/0.6276, allocations: 2.391 MB / 0.5862 GB, free: 29.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.6277, allocations: 4.719 kB / 0.5862 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6277, allocations: 2.062 kB / 0.5862 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004309/0.632, allocations: 1.048 MB / 0.5873 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.633, allocations: 146.8 kB / 0.5874 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.6442, allocations: 4.701 MB / 0.592 GB, free: 26.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.6459, allocations: 118 kB / 0.5921 GB, free: 26.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-05/0.646, allocations: 34.59 kB / 0.5921 GB, free: 26.57 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005638/0.6466, allocations: 211.4 kB / 0.5923 GB, free: 26.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6468, allocations: 81.8 kB / 0.5924 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/0.6534, allocations: 1.948 MB / 0.5943 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.6534, allocations: 5.562 kB / 0.5943 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.6535, allocations: 4.594 kB / 0.5943 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.6535, allocations: 4.375 kB / 0.5943 GB, free: 25.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 postOpt removeSimpleEquations (simulation): time 0.008512/0.662, allocations: 3.035 MB / 0.5973 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.662, allocations: 0.5625 kB / 0.5973 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.6625, allocations: 62.84 kB / 0.5974 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/0.6661, allocations: 0.9378 MB / 0.5983 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.6662, allocations: 12.48 kB / 0.5983 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008217/0.6745, allocations: 3.787 MB / 0.602 GB, free: 22.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6745, allocations: 0 / 0.602 GB, free: 22.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008084/0.6826, allocations: 2.516 MB / 0.6044 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.6831, allocations: 174 kB / 0.6046 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6833, allocations: 13.84 kB / 0.6046 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.6841, allocations: 50.88 kB / 0.6047 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/0.6846, allocations: 120.7 kB / 0.6048 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.6846, allocations: 14.89 kB / 0.6048 GB, free: 21.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009582/0.6856, allocations: 0.517 MB / 0.6053 GB, free: 20.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6856, allocations: 0 / 0.6053 GB, free: 20.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00162/0.6872, allocations: 304.7 kB / 0.6056 GB, free: 20.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.6875, allocations: 117.7 kB / 0.6057 GB, free: 20.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005099/0.6926, allocations: 1.73 MB / 0.6074 GB, free: 19.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6927, allocations: 0 / 0.6074 GB, free: 19.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/0.6957, allocations: 1.082 MB / 0.6085 GB, free: 19.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.6966, allocations: 60.73 kB / 0.6085 GB, free: 19.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.6998, allocations: 1.825 MB / 0.6103 GB, free: 18.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.7004, allocations: 0.9487 MB / 0.6112 GB, free: 17.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.7007, allocations: 54.39 kB / 0.6113 GB, free: 17.35 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7007, allocations: 0 / 0.6113 GB, free: 17.35 MB / 430.1 MB Notification: Performance of Templates: time 0.02388/0.7246, allocations: 20.39 MB / 0.6312 GB, free: 14.37 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIBCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIBCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIBCalcHelperMain.o] Error 1