Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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/Complex 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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009274, allocations: 93.8 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009657/0.0009658, allocations: 184.9 kB / 17.85 MB, free: 5.613 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.596/1.596, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 9.531 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009698/0.1564, allocations: 8.297 MB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007226/0.1637, allocations: 2.798 MB / 363 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.1655, allocations: 43.81 kB / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.1672, allocations: 0.5087 MB / 363.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.1699, allocations: 0.6643 MB / 364.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.1708, allocations: 223.7 kB / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.1752, allocations: 2.751 MB / 367.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.1775, allocations: 1.378 MB / 368.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.1798, allocations: 0.8948 MB / 369.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.1823, allocations: 1.241 MB / 370.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.1826, allocations: 132 kB / 370.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000737/0.1834, allocations: 195.9 kB / 371 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007682/0.1842, allocations: 0.6853 MB / 371.7 MB, free: 108 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2966/0.4807, allocations: 498.9 kB / 372.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.4875, allocations: 3.261 MB / 375.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4875, allocations: 0 / 375.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4876, allocations: 0 / 375.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001862/0.4878, allocations: 0.9688 kB / 375.4 MB, free: 11.71 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007735/0.4955, allocations: 2.451 MB / 377.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4956, allocations: 10.62 kB / 377.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.4969, allocations: 291.2 kB / 378.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.5001, allocations: 1.438 MB / 379.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.5003, allocations: 151.1 kB / 379.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.5007, allocations: 205.4 kB / 380 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006067/0.5067, allocations: 2.728 MB / 382.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/0.5068, allocations: 8.359 kB / 382.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.5071, allocations: 81.78 kB / 382.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.5072, allocations: 102.7 kB / 382.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00521/0.5125, allocations: 2.324 MB / 385.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.5288, allocations: 8.457 MB / 393.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.5312, allocations: 1.783 MB / 395.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.5332, allocations: 1.07 MB / 396.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.5335, allocations: 122.9 kB / 396.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.5335, allocations: 45.69 kB / 396.7 MB, free: 3.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.655e-06/0.5335, allocations: 0 / 396.7 MB, free: 3.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01219/0.5457, allocations: 6.27 MB / 402.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.5459, allocations: 64.41 kB / 403 MB, free: 15.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.5488, allocations: 1.504 MB / 404.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.5489, allocations: 45.7 kB / 404.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.5499, allocations: 0.9881 MB / 405.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006329/0.5506, allocations: 415.5 kB / 406 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.5507, allocations: 32 kB / 406 MB, free: 12.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.5509, allocations: 357.9 kB / 406.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.5523, allocations: 0.7339 MB / 407.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.5538, allocations: 1.061 MB / 408.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.5552, allocations: 0.8806 MB / 409 MB, free: 9.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.5553, allocations: 4 kB / 409 MB, free: 9.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004579/0.5598, allocations: 2.363 MB / 411.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.5599, allocations: 8 kB / 411.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.5599, allocations: 8 kB / 411.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.561, allocations: 418.4 kB / 411.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5624, allocations: 328.9 kB / 412.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.5681, allocations: 4.654 MB / 416.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.57, allocations: 87.91 kB / 416.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.5702, allocations: 52 kB / 416.9 MB, free: 1.652 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002134/0.5724, allocations: 0.7188 MB / 417.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/0.5729, allocations: 158 kB / 417.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.577, allocations: 2.149 MB / 419.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.5771, allocations: 12 kB / 419.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.5771, allocations: 4 kB / 419.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.5771, allocations: 7.969 kB / 420 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009291/0.5864, allocations: 4.593 MB / 424.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5864, allocations: 3.938 kB / 424.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.5874, allocations: 228.5 kB / 424.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.5886, allocations: 466.9 kB / 425.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.5888, allocations: 31.98 kB / 425.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006874/0.5957, allocations: 6.133 MB / 431.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.5957, allocations: 10.86 kB / 431.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006192/0.6019, allocations: 3.191 MB / 434.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.6036, allocations: 403 kB / 435 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.6039, allocations: 31.95 kB / 435 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.6047, allocations: 79.91 kB / 435.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.605, allocations: 107.8 kB / 435.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.6051, allocations: 35.98 kB / 435.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.6072, allocations: 1.036 MB / 436.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.547e-06/0.6072, allocations: 0 / 436.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002178/0.6094, allocations: 464.3 kB / 436.7 MB, free: 13.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003861/0.6098, allocations: 157.6 kB / 436.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.6138, allocations: 2.275 MB / 439.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6138, allocations: 0 / 439.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.6162, allocations: 1.495 MB / 440.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.619, allocations: 426.5 kB / 441.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.6289, allocations: 5.36 MB / 446.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.6311, allocations: 1.799 MB / 448.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/0.6319, allocations: 119.4 kB / 448.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.296e-06/0.632, allocations: 4 kB / 448.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Templates: time 0.09117/0.7231, allocations: 69.51 MB / 0.5057 GB, free: 12.15 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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 OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOLCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1