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.001428/0.001428, allocations: 105.4 kB / 17.8 MB, free: 5.68 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.00108/0.00108, allocations: 201.9 kB / 18.73 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 1.718/1.718, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001329/0.001329, allocations: 39.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01274/0.1416, allocations: 9.284 MB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007393/0.149, allocations: 3 MB / 339.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.1504, allocations: 35.81 kB / 339.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.1524, allocations: 0.5478 MB / 340.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.1548, allocations: 0.7033 MB / 340.8 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.1558, allocations: 311.7 kB / 341.1 MB, free: 6.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004553/0.1604, allocations: 3.117 MB / 344.2 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.1625, allocations: 1.564 MB / 345.8 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.1645, allocations: 1.031 MB / 346.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.1665, allocations: 1.44 MB / 348.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.1669, allocations: 188 kB / 348.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.1677, allocations: 291.8 kB / 348.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009806/0.1687, allocations: 0.7632 MB / 349.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.1705, allocations: 1.283 MB / 350.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.174, allocations: 3.355 MB / 354.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1741, allocations: 0 / 354.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1741, allocations: 0 / 354.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.629e-05/0.1742, allocations: 0 / 354.1 MB, free: 9.824 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.006943/0.1811, allocations: 2.849 MB / 357 MB, free: 6.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1812, allocations: 8.031 kB / 357 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/0.1819, allocations: 285.7 kB / 357.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.1845, allocations: 1.434 MB / 358.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.1848, allocations: 152.4 kB / 358.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.1852, allocations: 208 kB / 359.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/0.1903, allocations: 2.728 MB / 361.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/0.1904, allocations: 8 kB / 361.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.1906, allocations: 80 kB / 361.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.1907, allocations: 95.92 kB / 362 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.1947, allocations: 2.322 MB / 364.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.2085, allocations: 8.426 MB / 372.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.2107, allocations: 1.768 MB / 374.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.2126, allocations: 1.073 MB / 375.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.2129, allocations: 118.1 kB / 375.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.213, allocations: 47.56 kB / 375.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/0.213, allocations: 0 / 375.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.2845/0.4975, allocations: 6.29 MB / 382 MB, free: 51.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4976, allocations: 71.52 kB / 382.1 MB, free: 51.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/0.5018, allocations: 1.513 MB / 383.6 MB, free: 50.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.5021, allocations: 46.77 kB / 383.6 MB, free: 50.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.5034, allocations: 0.9862 MB / 384.6 MB, free: 49.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006495/0.504, allocations: 416.2 kB / 385 MB, free: 49.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007328/0.5048, allocations: 255.3 kB / 385.3 MB, free: 49.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.505, allocations: 357.2 kB / 385.6 MB, free: 49.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/0.5074, allocations: 0.7339 MB / 386.4 MB, free: 48.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/0.5102, allocations: 1.053 MB / 387.4 MB, free: 48.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/0.5151, allocations: 1.88 MB / 389.3 MB, free: 47.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/0.5152, allocations: 2.25 kB / 389.3 MB, free: 47.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007848/0.5231, allocations: 2.353 MB / 391.7 MB, free: 46.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.5231, allocations: 9.828 kB / 391.7 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.5232, allocations: 10.16 kB / 391.7 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.5247, allocations: 408.9 kB / 392.1 MB, free: 46.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.5265, allocations: 335.7 kB / 392.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/0.5334, allocations: 4.639 MB / 397 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.5357, allocations: 90.78 kB / 397.1 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.5359, allocations: 51.91 kB / 397.2 MB, free: 42.65 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.00215/0.5381, allocations: 0.7139 MB / 397.9 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/0.5386, allocations: 160.3 kB / 398.1 MB, free: 42.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/0.5435, allocations: 2.142 MB / 400.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5435, allocations: 10.66 kB / 400.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.5435, allocations: 4.188 kB / 400.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.5436, allocations: 7.406 kB / 400.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009078/0.5527, allocations: 4.593 MB / 404.8 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5527, allocations: 4 kB / 404.8 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.5536, allocations: 223.9 kB / 405 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.5547, allocations: 469.9 kB / 405.5 MB, free: 37.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.5548, allocations: 35.98 kB / 405.5 MB, free: 37.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/0.5595, allocations: 6.143 MB / 411.7 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5595, allocations: 4 kB / 411.7 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.564, allocations: 3.178 MB / 414.9 MB, free: 27.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/0.5649, allocations: 395 kB / 415.2 MB, free: 27.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.5652, allocations: 35.92 kB / 415.3 MB, free: 27.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/0.566, allocations: 75.92 kB / 415.4 MB, free: 27.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.5663, allocations: 104.8 kB / 415.5 MB, free: 27.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.5664, allocations: 35.92 kB / 415.5 MB, free: 27.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.5678, allocations: 1.044 MB / 416.5 MB, free: 26.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5678, allocations: 0 / 416.5 MB, free: 26.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001745/0.5696, allocations: 466.6 kB / 417 MB, free: 25.63 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.0003622/0.5699, allocations: 180.6 kB / 417.2 MB, free: 25.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.5728, allocations: 2.27 MB / 419.4 MB, free: 23.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5728, allocations: 2.438 kB / 419.4 MB, free: 23.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.5746, allocations: 1.495 MB / 420.9 MB, free: 21.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.5764, allocations: 413.5 kB / 421.3 MB, free: 21.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.5835, allocations: 5.456 MB / 426.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.5848, allocations: 1.803 MB / 428.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.5852, allocations: 119.4 kB / 428.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5853, allocations: 0 / 428.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of Templates: time 0.09093/0.6762, allocations: 69.85 MB / 498.6 MB, free: 7.734 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