Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 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_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 93.67 kB / 17.96 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.001263/0.001263, allocations: 179.4 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005151/0.0005151, allocations: 8 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01166/0.1666, allocations: 8.77 MB / 338.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.1749, allocations: 2.973 MB / 341.4 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.1764, allocations: 35.81 kB / 341.4 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.1782, allocations: 0.5516 MB / 341.9 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.181, allocations: 0.7033 MB / 342.6 MB, free: 6.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.182, allocations: 311.7 kB / 343 MB, free: 6.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.1863, allocations: 3.114 MB / 346.1 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.1884, allocations: 1.548 MB / 347.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.1903, allocations: 0.9101 MB / 348.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.1923, allocations: 1.295 MB / 349.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.1925, allocations: 136 kB / 350 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.1932, allocations: 231.8 kB / 350.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.1939, allocations: 0.6852 MB / 350.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.1955, allocations: 1.202 MB / 352.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.1988, allocations: 3.276 MB / 355.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1988, allocations: 0 / 355.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1988, allocations: 0 / 355.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.374e-05/0.1989, allocations: 0 / 355.3 MB, free: 9.859 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.006066/0.205, allocations: 2.417 MB / 357.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/0.2051, allocations: 12.03 kB / 357.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008758/0.206, allocations: 289.7 kB / 358.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.2085, allocations: 1.434 MB / 359.5 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.2087, allocations: 152.4 kB / 359.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.209, allocations: 212 kB / 359.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/0.2145, allocations: 2.744 MB / 362.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.2145, allocations: 4 kB / 362.6 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.2148, allocations: 84 kB / 362.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.2149, allocations: 95.92 kB / 362.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.2193, allocations: 2.338 MB / 365.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.2349, allocations: 8.473 MB / 373.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.2373, allocations: 1.783 MB / 375.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.2394, allocations: 1.07 MB / 376.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.2397, allocations: 118.1 kB / 376.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.2397, allocations: 47.5 kB / 376.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.178e-06/0.2397, allocations: 0 / 376.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.3573/0.597, allocations: 6.387 MB / 383 MB, free: 50.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.5971, allocations: 71.78 kB / 383.1 MB, free: 50.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.6008, allocations: 1.516 MB / 384.6 MB, free: 49.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.601, allocations: 45.61 kB / 384.6 MB, free: 49.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.6025, allocations: 0.9865 MB / 385.6 MB, free: 49.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006392/0.6032, allocations: 417.5 kB / 386 MB, free: 48.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.6035, allocations: 118.2 kB / 386.1 MB, free: 48.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003218/0.6038, allocations: 360.6 kB / 386.5 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.6061, allocations: 0.7396 MB / 387.2 MB, free: 48.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.6087, allocations: 1.069 MB / 388.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.613, allocations: 1.894 MB / 390.2 MB, free: 46.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.613, allocations: 2.875 kB / 390.2 MB, free: 46.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006114/0.6191, allocations: 2.374 MB / 392.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.6192, allocations: 11.88 kB / 392.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.6192, allocations: 11.81 kB / 392.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.6203, allocations: 406.4 kB / 393 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.6216, allocations: 333.7 kB / 393.3 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/0.6272, allocations: 4.645 MB / 397.9 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.629, allocations: 96.52 kB / 398 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.6292, allocations: 52.56 kB / 398.1 MB, free: 42.02 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[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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001841/0.631, allocations: 0.7027 MB / 398.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.6314, allocations: 164.6 kB / 399 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.6349, allocations: 2.158 MB / 401.1 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.6349, allocations: 11.62 kB / 401.1 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.6349, allocations: 11.31 kB / 401.1 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.635, allocations: 7.453 kB / 401.1 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007122/0.6421, allocations: 4.594 MB / 405.7 MB, free: 37.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.6421, allocations: 7.984 kB / 405.7 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.643, allocations: 227.7 kB / 406 MB, free: 37.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.6441, allocations: 470.5 kB / 406.4 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/0.6442, allocations: 27.98 kB / 406.4 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005207/0.6494, allocations: 6.156 MB / 412.6 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6494, allocations: 3.938 kB / 412.6 MB, free: 30.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/0.654, allocations: 3.2 MB / 415.8 MB, free: 27.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/0.6549, allocations: 407 kB / 416.2 MB, free: 26.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.6551, allocations: 35.92 kB / 416.2 MB, free: 26.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007898/0.6559, allocations: 83.64 kB / 416.3 MB, free: 26.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.6562, allocations: 104.8 kB / 416.4 MB, free: 26.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.6562, allocations: 35.98 kB / 416.5 MB, free: 26.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.6578, allocations: 1.052 MB / 417.5 MB, free: 25.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6578, allocations: 0 / 417.5 MB, free: 25.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001912/0.6597, allocations: 462.6 kB / 418 MB, free: 25.11 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: 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 (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0003979/0.6601, allocations: 184.9 kB / 418.1 MB, free: 24.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.6636, allocations: 2.281 MB / 420.4 MB, free: 22.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6636, allocations: 4.562 kB / 420.4 MB, free: 22.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.6656, allocations: 1.51 MB / 421.9 MB, free: 21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.6679, allocations: 413.5 kB / 422.3 MB, free: 20.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009189/0.6771, allocations: 5.59 MB / 427.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.6791, allocations: 1.789 MB / 429.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.6796, allocations: 127.4 kB / 429.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of SimCode: time 2.104e-06/0.6797, allocations: 0 / 429.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of Templates: time 0.1055/0.7852, allocations: 69.55 MB / 499.4 MB, free: 7.328 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOLCalcHelperMain.o] Error 1