Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 94.98 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.001077/0.001077, allocations: 178 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 2.137/2.137, 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.0005718/0.0005717, allocations: 15.98 kB / 282.1 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 47.58 MB / 329.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02917/0.1514, allocations: 25.45 MB / 355.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0209/0.1724, allocations: 7.854 MB / 362.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.1828, allocations: 155.5 kB / 363.1 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008795/0.1916, allocations: 1.949 MB / 365 MB, free: 176 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.2068, allocations: 3.088 MB / 368.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006663/0.2134, allocations: 1.611 MB / 369.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3108/0.5243, allocations: 12.41 MB / 382.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04644/0.5708, allocations: 24.1 MB / 406.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009636/0.5805, allocations: 4.648 MB / 410.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.5913, allocations: 5.635 MB / 416.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003092/0.5944, allocations: 0.7186 MB / 417.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.5987, allocations: 1.084 MB / 418.3 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.6007, allocations: 2.323 MB / 420.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007704/0.6085, allocations: 5.535 MB / 426.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0268/0.6353, allocations: 20.95 MB / 447.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6353, allocations: 0 / 447.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6354, allocations: 0 / 447.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007823/0.6362, allocations: 0 / 447.2 MB, free: 8.371 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04879/0.685, allocations: 12.28 MB / 459.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.6851, allocations: 12.03 kB / 459.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05682/0.7419, allocations: 9.462 MB / 468.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02153/0.7635, allocations: 6.903 MB / 475.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001525/0.7651, allocations: 0.8264 MB / 476.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007367/0.7725, allocations: 1.074 MB / 477.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06327/0.8358, allocations: 18.76 MB / 496.5 MB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008305/0.8367, allocations: 27.48 kB / 496.5 MB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00584/0.8425, allocations: 456.6 kB / 496.9 MB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.8437, allocations: 0.695 MB / 497.6 MB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05119/0.8949, allocations: 18.23 MB / 0.5038 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6362/1.531, allocations: 60.17 MB / 0.5625 GB, free: 110.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03587/1.567, allocations: 46.7 MB / 0.6081 GB, free: 71.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008919/1.576, allocations: 4.329 MB / 0.6124 GB, free: 69.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0274/1.603, allocations: 12.47 MB / 0.6245 GB, free: 63.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/1.604, allocations: 80.38 kB / 0.6246 GB, free: 63.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 6.091e-06/1.604, allocations: 0 / 0.6246 GB, free: 63.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04451/1.648, allocations: 19.56 MB / 0.6437 GB, free: 52.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.648, allocations: 89.88 kB / 0.6438 GB, free: 52.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/1.655, allocations: 4.338 MB / 0.6481 GB, free: 48.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008395/1.656, allocations: 89.55 kB / 0.6481 GB, free: 48.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002849/1.659, allocations: 4.82 MB / 0.6528 GB, free: 43.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.66, allocations: 1.367 MB / 0.6542 GB, free: 42.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006285/1.661, allocations: 0.5001 MB / 0.6547 GB, free: 42.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/1.661, allocations: 301.1 kB / 0.655 GB, free: 41.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004144/1.665, allocations: 3.167 MB / 0.658 GB, free: 38.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005245/1.671, allocations: 5.787 MB / 0.6637 GB, free: 31.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.681, allocations: 9.537 MB / 0.673 GB, free: 20.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.504e-05/1.681, allocations: 24 kB / 0.673 GB, free: 20.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01873/1.7, allocations: 10.35 MB / 0.6831 GB, free: 10.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.7, allocations: 44 kB / 0.6832 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/1.7, allocations: 84.38 kB / 0.6833 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/1.704, allocations: 1.406 MB / 0.6846 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/1.71, allocations: 1.466 MB / 0.6861 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/1.728, allocations: 10.58 MB / 0.6964 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008308/1.737, allocations: 403.3 kB / 0.6968 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.738, allocations: 332 kB / 0.6971 GB, free: 12.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01471/1.753, allocations: 4.177 MB / 0.7012 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/1.756, allocations: 450.4 kB / 0.7016 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3454/2.101, allocations: 7.423 MB / 0.7089 GB, free: 142.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01585/2.117, allocations: 6.1 MB / 0.7148 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/2.117, allocations: 12.25 kB / 0.7148 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-05/2.117, allocations: 20.77 kB / 0.7148 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03859/2.156, allocations: 16.48 MB / 0.7309 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/2.156, allocations: 0 / 0.7309 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/2.159, allocations: 0.7257 MB / 0.7317 GB, free: 135.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/2.162, allocations: 1.251 MB / 0.7329 GB, free: 135.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003885/2.163, allocations: 85.86 kB / 0.733 GB, free: 135.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/2.177, allocations: 9.313 MB / 0.7421 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.177, allocations: 0.8594 kB / 0.7421 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/2.194, allocations: 10.67 MB / 0.7525 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003067/2.197, allocations: 1.06 MB / 0.7535 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008148/2.198, allocations: 75.56 kB / 0.7536 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/2.2, allocations: 259.1 kB / 0.7538 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/2.201, allocations: 267.2 kB / 0.7541 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/2.201, allocations: 120.7 kB / 0.7542 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005415/2.207, allocations: 2.908 MB / 0.757 GB, free: 124.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/2.207, allocations: 0 / 0.757 GB, free: 124.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008592/2.215, allocations: 1.85 MB / 0.7588 GB, free: 124.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000784/2.216, allocations: 257.3 kB / 0.7591 GB, free: 124.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01358/2.23, allocations: 8.009 MB / 0.7669 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/2.23, allocations: 0 / 0.7669 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006003/2.236, allocations: 3.698 MB / 0.7705 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0062/2.242, allocations: 1.028 MB / 0.7715 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0385/2.281, allocations: 23.35 MB / 0.7943 GB, free: 90.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008731/2.289, allocations: 6.826 MB / 0.801 GB, free: 83.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/2.292, allocations: 427.3 kB / 0.8014 GB, free: 83.08 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/2.292, allocations: 3.938 kB / 0.8014 GB, free: 83.08 MB / 462.1 MB Notification: Performance of Templates: time 0.5611/2.853, allocations: 178.2 MB / 0.9754 GB, free: 64.2 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1