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.001028/0.001028, allocations: 102.8 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.555/1.555, allocations: 223.3 MB / 239.7 MB, free: 5.668 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.001055/0.001055, allocations: 188.4 kB / 290.9 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5687/0.5687, allocations: 78.55 MB / 420.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 8 kB / 0.4887 GB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1819, allocations: 69.38 MB / 0.5564 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.3626/0.5445, allocations: 4.466 MB / 0.5608 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.5483, allocations: 1.539 MB / 0.5623 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.5488, allocations: 7.938 kB / 0.5623 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.5492, allocations: 117.7 kB / 0.5624 GB, free: 37.43 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.00146/0.5507, allocations: 0.5164 MB / 0.5629 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.5515, allocations: 330.2 kB / 0.5632 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.5525, allocations: 0.964 MB / 0.5642 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.5529, allocations: 173.4 kB / 0.5643 GB, free: 37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.5534, allocations: 373.4 kB / 0.5647 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.554, allocations: 489.4 kB / 0.5652 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.554, allocations: 45.22 kB / 0.5652 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.5544, allocations: 176.5 kB / 0.5654 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.5546, allocations: 164.5 kB / 0.5655 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.5547, allocations: 164.4 kB / 0.5657 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000919/0.5557, allocations: 0.9498 MB / 0.5666 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5557, allocations: 0.8438 kB / 0.5666 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5557, allocations: 0 / 0.5666 GB, free: 36.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.5557, allocations: 1.312 kB / 0.5666 GB, free: 36.61 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.004458/0.5602, allocations: 1.641 MB / 0.5682 GB, free: 35.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5602, allocations: 8.844 kB / 0.5682 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.5633, allocations: 0.5142 MB / 0.5687 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.5643, allocations: 0.6154 MB / 0.5693 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.5645, allocations: 152.7 kB / 0.5695 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5646, allocations: 50.09 kB / 0.5695 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.566, allocations: 0.6891 MB / 0.5702 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.566, allocations: 7.891 kB / 0.5702 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.5661, allocations: 21.31 kB / 0.5702 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.5661, allocations: 9.531 kB / 0.5702 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5672, allocations: 0.6652 MB / 0.5709 GB, free: 35.45 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.004186/0.5714, allocations: 2.681 MB / 0.5735 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.5828, allocations: 3.761 MB / 0.5772 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.5839, allocations: 481.8 kB / 0.5776 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.36e-05/0.584, allocations: 10.09 kB / 0.5776 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.584, allocations: 46.08 kB / 0.5777 GB, free: 34.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.677e-06/0.584, allocations: 0 / 0.5777 GB, free: 34.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01241/0.5965, allocations: 4.22 MB / 0.5818 GB, free: 33.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.5966, allocations: 66.34 kB / 0.5819 GB, free: 33.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.598, allocations: 0.7542 MB / 0.5826 GB, free: 32.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.5981, allocations: 36.14 kB / 0.5826 GB, free: 32.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5984, allocations: 349 kB / 0.583 GB, free: 32.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.5986, allocations: 218.1 kB / 0.5832 GB, free: 32.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.5987, allocations: 15.41 kB / 0.5832 GB, free: 32.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5988, allocations: 397.2 kB / 0.5836 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.5999, allocations: 0.5253 MB / 0.5841 GB, free: 31.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.601, allocations: 0.6315 MB / 0.5847 GB, free: 31.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6022, allocations: 0.5767 MB / 0.5853 GB, free: 31.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6022, allocations: 0 / 0.5853 GB, free: 31.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00752/0.6098, allocations: 2.728 MB / 0.5879 GB, free: 30.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.6098, allocations: 10.12 kB / 0.5879 GB, free: 30.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6099, allocations: 2.375 kB / 0.5879 GB, free: 30.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004324/0.6142, allocations: 1.215 MB / 0.5891 GB, free: 30.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.6151, allocations: 154.1 kB / 0.5893 GB, free: 30.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.6265, allocations: 6.33 MB / 0.5955 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.6279, allocations: 124.8 kB / 0.5956 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.793e-05/0.628, allocations: 32.23 kB / 0.5956 GB, free: 26.06 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.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004648/0.6285, allocations: 229.8 kB / 0.5958 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6287, allocations: 76.19 kB / 0.5959 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/0.6356, allocations: 2.294 MB / 0.5981 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6356, allocations: 7.031 kB / 0.5981 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.6356, allocations: 4.125 kB / 0.5981 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.6357, allocations: 2.531 kB / 0.5981 GB, free: 25.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 postOpt removeSimpleEquations (simulation): time 0.008907/0.6446, allocations: 3.385 MB / 0.6015 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6446, allocations: 0 / 0.6015 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.6451, allocations: 62.2 kB / 0.6015 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003624/0.6487, allocations: 1.089 MB / 0.6026 GB, free: 23.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.6488, allocations: 11.27 kB / 0.6026 GB, free: 23.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008478/0.6573, allocations: 4.139 MB / 0.6066 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6573, allocations: 0 / 0.6066 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007942/0.6653, allocations: 2.899 MB / 0.6095 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.6658, allocations: 179.5 kB / 0.6096 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6659, allocations: 16.78 kB / 0.6096 GB, free: 20.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.6666, allocations: 71.62 kB / 0.6097 GB, free: 20.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/0.6671, allocations: 118.3 kB / 0.6098 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.6672, allocations: 20.09 kB / 0.6098 GB, free: 20.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008208/0.668, allocations: 0.5108 MB / 0.6103 GB, free: 20.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.668, allocations: 0 / 0.6103 GB, free: 20.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001158/0.6692, allocations: 299.8 kB / 0.6106 GB, free: 20 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.6695, allocations: 122.8 kB / 0.6107 GB, free: 19.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.6742, allocations: 1.999 MB / 0.6127 GB, free: 18.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6742, allocations: 0 / 0.6127 GB, free: 18.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.6768, allocations: 1.205 MB / 0.6139 GB, free: 17.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006763/0.6775, allocations: 63.7 kB / 0.6139 GB, free: 17.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.6804, allocations: 1.856 MB / 0.6158 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.6811, allocations: 0.9409 MB / 0.6167 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.6814, allocations: 54.58 kB / 0.6167 GB, free: 15.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.933e-06/0.6814, allocations: 0 / 0.6167 GB, free: 15.04 MB / 430.1 MB Notification: Performance of Templates: time 0.02463/0.706, allocations: 21.99 MB / 0.6382 GB, free: 9.66 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.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