Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09219/0.09219, allocations: 12.2 MB / 27.81 MB, free: 1.051 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008393, allocations: 103.5 kB / 31.31 MB, free: 4.629 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 240.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 176.5 kB / 291.2 MB, free: 11.66 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4314/0.4314, allocations: 78.52 MB / 420.8 MB, free: 11.64 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008269/0.0008269, allocations: 31.98 kB / 0.4901 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3174, allocations: 69.22 MB / 0.5577 GB, free: 21.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003593/0.321, allocations: 4.526 MB / 0.5621 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3231, allocations: 1.503 MB / 0.5636 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.3234, allocations: 11.94 kB / 0.5636 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.3237, allocations: 115.2 kB / 0.5637 GB, free: 14.89 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001011/0.3247, allocations: 0.5178 MB / 0.5642 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.3252, allocations: 338.7 kB / 0.5645 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.3259, allocations: 0.9652 MB / 0.5655 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.3261, allocations: 173.4 kB / 0.5656 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.3265, allocations: 374.4 kB / 0.566 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.3269, allocations: 485.9 kB / 0.5665 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.327, allocations: 44 kB / 0.5665 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.3272, allocations: 171.8 kB / 0.5667 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3273, allocations: 163.2 kB / 0.5668 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3275, allocations: 165.3 kB / 0.567 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.3281, allocations: 0.9529 MB / 0.5679 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3281, allocations: 0 / 0.5679 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3281, allocations: 0 / 0.5679 GB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3281, allocations: 0 / 0.5679 GB, free: 10.55 MB / 382.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.003929/0.332, allocations: 1.636 MB / 0.5695 GB, free: 8.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3321, allocations: 11.98 kB / 0.5695 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/0.3349, allocations: 0.5218 MB / 0.57 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.3356, allocations: 0.6203 MB / 0.5706 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.3358, allocations: 150.1 kB / 0.5708 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.3359, allocations: 55.98 kB / 0.5708 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.337, allocations: 0.6936 MB / 0.5715 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.337, allocations: 0 / 0.5715 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.337, allocations: 20 kB / 0.5715 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3371, allocations: 12 kB / 0.5715 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.3381, allocations: 0.6599 MB / 0.5722 GB, free: 6.059 MB / 382.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.0034/0.3415, allocations: 2.678 MB / 0.5748 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.3521, allocations: 3.762 MB / 0.5785 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008703/0.353, allocations: 492.8 kB / 0.5789 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.3531, allocations: 8.562 kB / 0.5789 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3531, allocations: 35.12 kB / 0.579 GB, free: 14.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.945e-06/0.3532, allocations: 0 / 0.579 GB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01174/0.3649, allocations: 4.219 MB / 0.5831 GB, free: 10.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.365, allocations: 63.92 kB / 0.5832 GB, free: 10.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.366, allocations: 0.7583 MB / 0.5839 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.3661, allocations: 37.7 kB / 0.5839 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3664, allocations: 352.6 kB / 0.5843 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.3666, allocations: 213 kB / 0.5845 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.3667, allocations: 16 kB / 0.5845 GB, free: 9.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3669, allocations: 394.7 kB / 0.5849 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009538/0.3678, allocations: 0.529 MB / 0.5854 GB, free: 8.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.3688, allocations: 0.6343 MB / 0.586 GB, free: 7.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3699, allocations: 0.578 MB / 0.5866 GB, free: 7.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3699, allocations: 0 / 0.5866 GB, free: 7.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006639/0.3765, allocations: 2.72 MB / 0.5892 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3766, allocations: 7.953 kB / 0.5892 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3766, allocations: 4 kB / 0.5892 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/0.3805, allocations: 1.221 MB / 0.5904 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.3812, allocations: 147.8 kB / 0.5906 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.3915, allocations: 6.335 MB / 0.5968 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/0.3924, allocations: 127.2 kB / 0.5969 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.3925, allocations: 31.98 kB / 0.5969 GB, free: 12.12 MB / 414.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.0003427/0.3929, allocations: 209.6 kB / 0.5971 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.393, allocations: 83.05 kB / 0.5972 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.3987, allocations: 2.301 MB / 0.5994 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3987, allocations: 7.938 kB / 0.5994 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3988, allocations: 4 kB / 0.5994 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.3988, allocations: 3.984 kB / 0.5994 GB, free: 9.488 MB / 414.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.00679/0.4056, allocations: 3.388 MB / 0.6028 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4056, allocations: 0 / 0.6028 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.406, allocations: 67.91 kB / 0.6028 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.4091, allocations: 1.072 MB / 0.6039 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.4091, allocations: 12 kB / 0.6039 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/0.4169, allocations: 4.148 MB / 0.6079 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4169, allocations: 0 / 0.6079 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00676/0.4237, allocations: 2.893 MB / 0.6108 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.424, allocations: 184 kB / 0.6109 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.4242, allocations: 12 kB / 0.6109 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007262/0.425, allocations: 71.94 kB / 0.611 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.4253, allocations: 120.3 kB / 0.6111 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.4254, allocations: 12 kB / 0.6111 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007364/0.4261, allocations: 0.5185 MB / 0.6116 GB, free: 12.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4261, allocations: 0 / 0.6116 GB, free: 12.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4272, allocations: 299.7 kB / 0.6119 GB, free: 12.42 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.0002825/0.4275, allocations: 123.2 kB / 0.612 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00443/0.4319, allocations: 1.995 MB / 0.614 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.432, allocations: 448 / 0.614 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.4346, allocations: 1.212 MB / 0.6152 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.4352, allocations: 58.23 kB / 0.6152 GB, free: 8.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.4382, allocations: 1.853 MB / 0.617 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.4388, allocations: 0.9498 MB / 0.618 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.439, allocations: 55.61 kB / 0.618 GB, free: 5.996 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.439, allocations: 0 / 0.618 GB, free: 5.996 MB / 430.1 MB Notification: Performance of Templates: time 0.02682/0.4658, allocations: 21.98 MB / 0.6395 GB, free: 15.98 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile make -j1 -f OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIBCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIBCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIBCalcHelperMain.o] Error 1