Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 103 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.561/1.561, allocations: 223.3 MB / 239.7 MB, free: 5.465 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.001246/0.001246, allocations: 184 kB / 290.9 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6549/0.6549, allocations: 79.49 MB / 421.5 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003984, allocations: 12 kB / 0.4897 GB, free: 5.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4533, allocations: 69.52 MB / 0.5576 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01222/0.4656, allocations: 12.77 MB / 0.5701 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009338/0.475, allocations: 3.659 MB / 0.5737 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.4785, allocations: 31.91 kB / 0.5737 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.4805, allocations: 375.4 kB / 0.5741 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.486, allocations: 1.196 MB / 0.5752 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.4891, allocations: 1.018 MB / 0.5762 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006159/0.4953, allocations: 3.722 MB / 0.5799 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.4974, allocations: 0.7539 MB / 0.5806 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.5005, allocations: 1.325 MB / 0.5819 GB, free: 27.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.5038, allocations: 1.666 MB / 0.5835 GB, free: 27.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.5052, allocations: 150.8 kB / 0.5837 GB, free: 27.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.5074, allocations: 270.2 kB / 0.5839 GB, free: 26.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.5088, allocations: 0.5947 MB / 0.5845 GB, free: 26.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.5105, allocations: 0.5499 MB / 0.585 GB, free: 26.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.515, allocations: 3.497 MB / 0.5884 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.515, allocations: 0 / 0.5884 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.515, allocations: 0.75 kB / 0.5884 GB, free: 25.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001356/0.5151, allocations: 3.312 kB / 0.5884 GB, free: 25.35 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: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01643/0.5316, allocations: 5.028 MB / 0.5934 GB, free: 23.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5316, allocations: 9.031 kB / 0.5934 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.5432, allocations: 1.646 MB / 0.595 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006666/0.5499, allocations: 1.957 MB / 0.5969 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008309/0.5508, allocations: 0.5005 MB / 0.5974 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.5522, allocations: 205.8 kB / 0.5976 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008876/0.5611, allocations: 2.548 MB / 0.6001 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.599e-05/0.5612, allocations: 0 / 0.6001 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004901/0.5617, allocations: 83.52 kB / 0.6001 GB, free: 20.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.25e-05/0.5618, allocations: 51.42 kB / 0.6002 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006185/0.568, allocations: 2.363 MB / 0.6025 GB, free: 19.25 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.02342/0.5914, allocations: 9.543 MB / 0.6118 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.6029, allocations: 5.156 MB / 0.6168 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004139/0.6071, allocations: 1.656 MB / 0.6185 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/0.6075, allocations: 39.34 kB / 0.6185 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005299/0.6129, allocations: 1.928 MB / 0.6204 GB, free: 9.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 1.743e-05/0.6129, allocations: 0 / 0.6204 GB, free: 9.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=245): time 0.07744/0.6904, allocations: 21.67 MB / 0.6415 GB, free: 6.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.6906, allocations: 243.6 kB / 0.6418 GB, free: 6.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006126/0.6967, allocations: 2.629 MB / 0.6443 GB, free: 3.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009061/0.6977, allocations: 69.7 kB / 0.6444 GB, free: 3.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.6989, allocations: 1.189 MB / 0.6456 GB, free: 2.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001509/0.7004, allocations: 0.8666 MB / 0.6464 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.7007, allocations: 68 kB / 0.6465 GB, free: 1.156 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7009, allocations: 433 kB / 0.6469 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/0.7042, allocations: 1.701 MB / 0.6486 GB, free: 15.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/0.7077, allocations: 2.032 MB / 0.6505 GB, free: 12.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/0.7111, allocations: 2.018 MB / 0.6525 GB, free: 10.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.7112, allocations: 0 / 0.6525 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02197/0.7331, allocations: 9.027 MB / 0.6613 GB, free: 1.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.7333, allocations: 170.2 kB / 0.6615 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.7333, allocations: 4 kB / 0.6615 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.7442, allocations: 3.484 MB / 0.6649 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.7476, allocations: 0.6086 MB / 0.6655 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03974/0.7874, allocations: 19.4 MB / 0.6844 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/0.7923, allocations: 485.1 kB / 0.6849 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007236/0.7931, allocations: 119.9 kB / 0.685 GB, free: 9.066 MB / 494.1 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(flow=false start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 6 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001925/0.795, allocations: 0.6083 MB / 0.6856 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/0.7961, allocations: 316 kB / 0.6859 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/0.8204, allocations: 8.703 MB / 0.6944 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.8204, allocations: 28 kB / 0.6944 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8205, allocations: 0 / 0.6944 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-05/0.8206, allocations: 15.95 kB / 0.6944 GB, free: 15.32 MB / 0.4981 GB 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.0331/0.8537, allocations: 13.43 MB / 0.7076 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/0.8537, allocations: 1.25 kB / 0.7076 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.8554, allocations: 239.7 kB / 0.7078 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01219/0.8676, allocations: 3.945 MB / 0.7116 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007637/0.8684, allocations: 59.94 kB / 0.7117 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04672/0.9151, allocations: 20.95 MB / 0.7322 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.9152, allocations: 0 / 0.7322 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03231/0.9475, allocations: 10.67 MB / 0.7426 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.9494, allocations: 466.4 kB / 0.743 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/0.9511, allocations: 55.94 kB / 0.7431 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/0.955, allocations: 296.6 kB / 0.7434 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001876/0.9569, allocations: 394.3 kB / 0.7437 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006005/0.9575, allocations: 71.97 kB / 0.7438 GB, free: 11.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004286/0.9618, allocations: 1.751 MB / 0.7455 GB, free: 10.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9618, allocations: 0 / 0.7455 GB, free: 10.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00697/0.9688, allocations: 1.073 MB / 0.7466 GB, free: 9.023 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 48,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.9701, allocations: 183.4 kB / 0.7467 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01508/0.9852, allocations: 5.886 MB / 0.7525 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.9852, allocations: 4.188 kB / 0.7525 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/0.9954, allocations: 3.927 MB / 0.7563 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/1.001, allocations: 293.1 kB / 0.7566 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.018, allocations: 6.8 MB / 0.7632 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/1.02, allocations: 1.839 MB / 0.765 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.022, allocations: 175.4 kB / 0.7652 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of SimCode: time 1.964e-06/1.022, allocations: 4 kB / 0.7652 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of Templates: time 0.4547/1.477, allocations: 82.21 MB / 0.8455 GB, free: 124.2 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_StatcomCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_StatcomCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_StatcomCalcHelperMain.o] Error 1