Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009956, allocations: 94.22 kB / 17.96 MB, free: 5.418 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.001305/0.001305, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.057/2.057, allocations: 205.4 MB / 225 MB, free: 12.93 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.0006291/0.0006293, allocations: 15.94 kB / 282 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1683, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01403/0.1824, allocations: 9.171 MB / 338.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.193, allocations: 3.082 MB / 341.9 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.1963, allocations: 39.75 kB / 341.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.2003, allocations: 0.5788 MB / 342.5 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.2069, allocations: 0.7461 MB / 343.2 MB, free: 6.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.2095, allocations: 343.6 kB / 343.6 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008144/0.2177, allocations: 3.53 MB / 347.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005186/0.223, allocations: 1.993 MB / 349.1 MB, free: 124 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.2269, allocations: 1.038 MB / 350.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.2313, allocations: 1.443 MB / 351.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.2328, allocations: 156 kB / 351.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.2354, allocations: 259.8 kB / 352 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.238, allocations: 0.7591 MB / 352.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004995/0.243, allocations: 1.354 MB / 354.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00791/0.251, allocations: 3.775 MB / 357.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.2511, allocations: 0 / 357.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.2511, allocations: 0 / 357.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000343/0.2515, allocations: 4 kB / 357.9 MB, free: 7.305 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01081/0.2623, allocations: 2.73 MB / 360.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001041/0.2625, allocations: 8.031 kB / 360.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.265, allocations: 317.4 kB / 360.9 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.2697, allocations: 1.639 MB / 362.6 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.2701, allocations: 176.9 kB / 362.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008777/0.271, allocations: 223.9 kB / 363 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008454/0.2794, allocations: 3.196 MB / 366.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.2797, allocations: 11.84 kB / 366.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/0.28, allocations: 99.91 kB / 366.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.2801, allocations: 100.4 kB / 366.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006724/0.2869, allocations: 2.769 MB / 369.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.3158, allocations: 9.937 MB / 379.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.335/0.6509, allocations: 2.101 MB / 381.2 MB, free: 49.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/0.6537, allocations: 1.205 MB / 382.4 MB, free: 49.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.654, allocations: 125.8 kB / 382.5 MB, free: 49.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.6541, allocations: 52.67 kB / 382.5 MB, free: 49.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.096e-06/0.6541, allocations: 0.625 kB / 382.5 MB, free: 49.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02173/0.6758, allocations: 8.11 MB / 390.7 MB, free: 46.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.676, allocations: 66.53 kB / 390.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.679, allocations: 1.679 MB / 392.4 MB, free: 46.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.6792, allocations: 45.67 kB / 392.4 MB, free: 46.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.6802, allocations: 1.094 MB / 393.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/0.6807, allocations: 486.4 kB / 394 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.681, allocations: 140.9 kB / 394.2 MB, free: 44.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.6811, allocations: 306.6 kB / 394.5 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.6827, allocations: 0.9148 MB / 395.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.6845, allocations: 1.279 MB / 396.6 MB, free: 43.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.6873, allocations: 2.275 MB / 398.9 MB, free: 42.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.6874, allocations: 3.938 kB / 398.9 MB, free: 42.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004849/0.6922, allocations: 3.065 MB / 402 MB, free: 40.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.6923, allocations: 12.09 kB / 402 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.6923, allocations: 15.34 kB / 402 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.6941, allocations: 0.8373 MB / 402.9 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6951, allocations: 307.8 kB / 403.2 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.7034, allocations: 9.099 MB / 412.3 MB, free: 30.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.7054, allocations: 99.84 kB / 412.4 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.7055, allocations: 67.7 kB / 412.4 MB, free: 30.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.7073, allocations: 0.8058 MB / 413.2 MB, free: 29.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.7077, allocations: 181.8 kB / 413.4 MB, free: 29.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.7119, allocations: 2.872 MB / 416.3 MB, free: 26.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.712, allocations: 12 kB / 416.3 MB, free: 26.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.712, allocations: 8 kB / 416.3 MB, free: 26.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.712, allocations: 7.969 kB / 416.3 MB, free: 26.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00802/0.72, allocations: 5.695 MB / 422 MB, free: 20.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.7201, allocations: 4.281 kB / 422 MB, free: 20.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.7208, allocations: 203.7 kB / 422.2 MB, free: 20.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.7228, allocations: 0.9001 MB / 423.1 MB, free: 19.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/0.7229, allocations: 35.98 kB / 423.1 MB, free: 19.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009908/0.7328, allocations: 10.57 MB / 433.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.7329, allocations: 11.95 kB / 433.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00617/0.7391, allocations: 4.183 MB / 437.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7404, allocations: 462.8 kB / 438.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.7406, allocations: 32 kB / 438.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.7416, allocations: 89.66 kB / 438.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/0.742, allocations: 145 kB / 438.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.7421, allocations: 43.98 kB / 438.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.7437, allocations: 1.149 MB / 439.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7437, allocations: 0 / 439.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002044/0.7458, allocations: 0.5631 MB / 440.4 MB, free: 1.754 MB / 318.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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0003819/0.7462, allocations: 190.8 kB / 440.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004878/0.7511, allocations: 3.014 MB / 443.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7511, allocations: 4 kB / 443.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003411/0.7545, allocations: 2.044 MB / 445.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.7576, allocations: 488.9 kB / 446.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.768, allocations: 6.374 MB / 452.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.7699, allocations: 1.999 MB / 454.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/0.7706, allocations: 119.4 kB / 454.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7706, allocations: 0 / 454.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Templates: time 0.4297/1.2, allocations: 91.79 MB / 0.5336 GB, free: 134.8 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YDCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.o] Error 1