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.0009191/0.0009189, allocations: 98.72 kB / 16.02 MB, free: 76 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.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.473 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.0009621/0.0009621, allocations: 184.5 kB / 291.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5247/0.5247, allocations: 78.55 MB / 420.9 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003794, allocations: 16 kB / 0.4893 GB, free: 5.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 69.36 MB / 0.557 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.3012/0.4517, allocations: 4.748 MB / 0.5617 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.4544, allocations: 1.622 MB / 0.5632 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.4547, allocations: 7.188 kB / 0.5633 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.455, allocations: 124.3 kB / 0.5634 GB, free: 36.27 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.001179/0.4562, allocations: 0.5746 MB / 0.5639 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.4569, allocations: 381.1 kB / 0.5643 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.4578, allocations: 1.022 MB / 0.5653 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.4581, allocations: 180.8 kB / 0.5655 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.4584, allocations: 379.7 kB / 0.5658 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.4589, allocations: 0.4963 MB / 0.5663 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/0.459, allocations: 44.97 kB / 0.5664 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.4593, allocations: 176.3 kB / 0.5665 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.4595, allocations: 175.9 kB / 0.5667 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.4598, allocations: 441 kB / 0.5671 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.4605, allocations: 0.9513 MB / 0.568 GB, free: 35.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4605, allocations: 0.625 kB / 0.568 GB, free: 35.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4605, allocations: 0.625 kB / 0.568 GB, free: 35.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4605, allocations: 1.25 kB / 0.568 GB, free: 35.04 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.004534/0.465, allocations: 1.617 MB / 0.5696 GB, free: 34.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4651, allocations: 10.12 kB / 0.5696 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.4682, allocations: 0.5288 MB / 0.5701 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/0.469, allocations: 0.6453 MB / 0.5708 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.4692, allocations: 146.5 kB / 0.5709 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.4693, allocations: 63.12 kB / 0.571 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4706, allocations: 0.6902 MB / 0.5717 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4706, allocations: 0.8906 kB / 0.5717 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.4707, allocations: 18.94 kB / 0.5717 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.4707, allocations: 16.34 kB / 0.5717 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.4718, allocations: 0.674 MB / 0.5723 GB, free: 33.8 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.003859/0.4757, allocations: 2.663 MB / 0.5749 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.4884, allocations: 3.776 MB / 0.5786 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.4895, allocations: 480.1 kB / 0.5791 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/0.4896, allocations: 13.3 kB / 0.5791 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4896, allocations: 37.25 kB / 0.5791 GB, free: 32.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/0.4896, allocations: 2.969 kB / 0.5791 GB, free: 32.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01325/0.5029, allocations: 4.232 MB / 0.5833 GB, free: 32.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.503, allocations: 62.38 kB / 0.5833 GB, free: 31.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.5042, allocations: 0.7653 MB / 0.5841 GB, free: 31.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/0.5043, allocations: 35.92 kB / 0.5841 GB, free: 31.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.5045, allocations: 353.7 kB / 0.5845 GB, free: 31.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.5047, allocations: 212.1 kB / 0.5847 GB, free: 31.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.5049, allocations: 91.23 kB / 0.5847 GB, free: 31.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.505, allocations: 396.4 kB / 0.5851 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.506, allocations: 0.5315 MB / 0.5856 GB, free: 30.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.5071, allocations: 0.6279 MB / 0.5863 GB, free: 30.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/0.523, allocations: 3.813 MB / 0.59 GB, free: 29.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.523, allocations: 0 / 0.59 GB, free: 29.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007946/0.531, allocations: 2.742 MB / 0.5927 GB, free: 28.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5311, allocations: 5.344 kB / 0.5927 GB, free: 28.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5311, allocations: 6 kB / 0.5927 GB, free: 28.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004548/0.5356, allocations: 1.201 MB / 0.5938 GB, free: 28.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.5365, allocations: 148.1 kB / 0.594 GB, free: 28.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.5473, allocations: 5.111 MB / 0.599 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.5488, allocations: 131.1 kB / 0.5991 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.549, allocations: 33.91 kB / 0.5991 GB, free: 25.69 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.0006061/0.5496, allocations: 218.4 kB / 0.5993 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.5499, allocations: 81.19 kB / 0.5994 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007047/0.557, allocations: 2.292 MB / 0.6017 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.557, allocations: 11.12 kB / 0.6017 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.557, allocations: 4.469 kB / 0.6017 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.557, allocations: 3.047 kB / 0.6017 GB, free: 24.84 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.008742/0.5658, allocations: 3.389 MB / 0.605 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5658, allocations: 1.203 kB / 0.605 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.5663, allocations: 65.55 kB / 0.605 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003875/0.5702, allocations: 1.079 MB / 0.6061 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.5703, allocations: 13.33 kB / 0.6061 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009101/0.5794, allocations: 4.146 MB / 0.6102 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5794, allocations: 0 / 0.6102 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008068/0.5875, allocations: 2.901 MB / 0.613 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.5879, allocations: 187.4 kB / 0.6132 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.5882, allocations: 13.12 kB / 0.6132 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/0.589, allocations: 69.34 kB / 0.6132 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003902/0.5894, allocations: 112 kB / 0.6134 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.5895, allocations: 21.36 kB / 0.6134 GB, free: 19.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008345/0.5904, allocations: 0.5219 MB / 0.6139 GB, free: 18.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5904, allocations: 1.406 kB / 0.6139 GB, free: 18.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001197/0.5916, allocations: 300.5 kB / 0.6142 GB, free: 18.55 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.0002568/0.5918, allocations: 117.5 kB / 0.6143 GB, free: 18.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004585/0.5964, allocations: 1.901 MB / 0.6161 GB, free: 16.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5965, allocations: 448 / 0.6161 GB, free: 16.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.5991, allocations: 1.209 MB / 0.6173 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.5999, allocations: 58.98 kB / 0.6174 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.6026, allocations: 1.914 MB / 0.6192 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.603, allocations: 0.946 MB / 0.6202 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.6032, allocations: 51.42 kB / 0.6202 GB, free: 12.45 MB / 430.1 MB Notification: Performance of SimCode: time 1.673e-06/0.6032, allocations: 4 kB / 0.6202 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Templates: time 0.02203/0.6252, allocations: 20.33 MB / 0.6401 GB, free: 8.258 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