Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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 3.2.3+maint.om/package.mo", uses=false) 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 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.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 92.34 kB / 17.95 MB, free: 5.629 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.001218/0.001218, allocations: 176.9 kB / 18.86 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.1 MB 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: Performance of FrontEnd - loaded program: time 0.0006245/0.0006249, allocations: 12 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1685, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01755/0.1862, allocations: 11.08 MB / 340.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.2, allocations: 3.737 MB / 344.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004423/0.2046, allocations: 55.69 kB / 344.5 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.2094, allocations: 0.7498 MB / 345.3 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00762/0.2171, allocations: 0.9949 MB / 346.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.2204, allocations: 447.5 kB / 346.7 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01211/0.2325, allocations: 4.909 MB / 351.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007532/0.2402, allocations: 2.635 MB / 354.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.2457, allocations: 1.42 MB / 355.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007681/0.2534, allocations: 2 MB / 357.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00241/0.256, allocations: 216 kB / 357.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.2597, allocations: 319.8 kB / 358.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.2631, allocations: 1.051 MB / 359.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006724/0.2699, allocations: 1.859 MB / 361.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.2805, allocations: 5.283 MB / 366.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.2806, allocations: 0 / 366.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.6e-06/0.2807, allocations: 0 / 366.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003855/0.2811, allocations: 0 / 366.4 MB, free: 14.8 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01643/0.2975, allocations: 3.64 MB / 370 MB, free: 11.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.57e-05/0.2976, allocations: 8.031 kB / 370 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/0.3016, allocations: 444 kB / 370.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008931/0.3106, allocations: 2.231 MB / 372.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.311, allocations: 234.1 kB / 372.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.3125, allocations: 303.9 kB / 373.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.3273, allocations: 4.373 MB / 377.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/0.3277, allocations: 15.91 kB / 377.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.3291, allocations: 128 kB / 377.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.3294, allocations: 126 kB / 377.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2884/0.6178, allocations: 3.787 MB / 381.6 MB, free: 48.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03298/0.6508, allocations: 13.63 MB / 395.3 MB, free: 41.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.6545, allocations: 2.91 MB / 398.2 MB, free: 39.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.6576, allocations: 1.691 MB / 399.9 MB, free: 38.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.6579, allocations: 132.6 kB / 400 MB, free: 38.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.658, allocations: 50.41 kB / 400 MB, free: 38.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.328e-06/0.658, allocations: 4 kB / 400 MB, free: 38.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01761/0.6756, allocations: 9.315 MB / 409.4 MB, free: 32.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6757, allocations: 69.41 kB / 409.4 MB, free: 32.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/0.6788, allocations: 2.357 MB / 411.8 MB, free: 29.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.679, allocations: 57.7 kB / 411.8 MB, free: 29.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000935/0.68, allocations: 1.47 MB / 413.3 MB, free: 28.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000475/0.6805, allocations: 0.5959 MB / 413.9 MB, free: 27.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.6807, allocations: 173.6 kB / 414.1 MB, free: 27.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.6808, allocations: 305.1 kB / 414.4 MB, free: 27.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.6825, allocations: 1.132 MB / 415.5 MB, free: 26.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.6842, allocations: 1.578 MB / 417.1 MB, free: 24.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.6874, allocations: 2.807 MB / 419.9 MB, free: 21.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.6874, allocations: 4 kB / 419.9 MB, free: 21.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005493/0.6929, allocations: 3.612 MB / 423.5 MB, free: 17.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.693, allocations: 12 kB / 423.5 MB, free: 17.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.693, allocations: 12 kB / 423.5 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.6949, allocations: 0.7981 MB / 424.3 MB, free: 16.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.6964, allocations: 463.3 kB / 424.8 MB, free: 16.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/0.705, allocations: 10.29 MB / 435.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.7082, allocations: 127.9 kB / 435.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.7084, allocations: 76 kB / 435.3 MB, free: 5.215 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002846/0.7113, allocations: 1.091 MB / 436.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007578/0.712, allocations: 249 kB / 436.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005159/0.7172, allocations: 3.325 MB / 439.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.7172, allocations: 16 kB / 439.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7172, allocations: 11.98 kB / 440 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.7173, allocations: 7.969 kB / 440 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.7324, allocations: 6.903 MB / 446.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.7324, allocations: 7.984 kB / 446.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.7338, allocations: 303.8 kB / 447.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/0.7363, allocations: 0.9244 MB / 448.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.7365, allocations: 43.97 kB / 448.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.7513, allocations: 13.46 MB / 461.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7513, allocations: 12 kB / 461.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00919/0.7605, allocations: 4.886 MB / 466.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/0.7628, allocations: 0.5682 MB / 467.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.7633, allocations: 39.94 kB / 467.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.7646, allocations: 135.9 kB / 467.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/0.7652, allocations: 157.7 kB / 467.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.7653, allocations: 47.98 kB / 467.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002949/0.7683, allocations: 1.633 MB / 469.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7683, allocations: 0 / 469.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003218/0.7715, allocations: 0.6992 MB / 469.8 MB, free: 1.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006675/0.7722, allocations: 203.9 kB / 470 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006816/0.779, allocations: 3.595 MB / 473.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/0.7791, allocations: 8.062 kB / 473.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004391/0.7835, allocations: 2.512 MB / 476.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/0.7887, allocations: 0.672 MB / 476.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.8058, allocations: 8.346 MB / 485.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/0.8087, allocations: 2.473 MB / 487.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/0.8099, allocations: 167.4 kB / 487.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.8099, allocations: 0 / 487.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Templates: time 0.6031/1.413, allocations: 167.1 MB / 0.6395 GB, free: 59.71 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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 OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.o] Error 1