Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009584, allocations: 89.22 kB / 17.58 MB, free: 6.219 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.0009084/0.0009082, allocations: 192 kB / 18.48 MB, free: 5.379 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.901/1.901, allocations: 205.4 MB / 224.6 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.0004974/0.0004977, allocations: 8 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01047/0.1386, allocations: 8.526 MB / 337.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.1453, allocations: 2.9 MB / 340.4 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.147, allocations: 39.81 kB / 340.5 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.1489, allocations: 0.5009 MB / 341 MB, free: 8.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1516, allocations: 0.633 MB / 341.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.1526, allocations: 247.7 kB / 341.8 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.156, allocations: 2.491 MB / 344.3 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.1577, allocations: 1.193 MB / 345.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.1593, allocations: 0.8248 MB / 346.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.161, allocations: 1.09 MB / 347.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.1612, allocations: 124 kB / 347.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.1618, allocations: 195.9 kB / 347.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.1624, allocations: 0.5957 MB / 348.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006169/0.1631, allocations: 460.5 kB / 348.8 MB, free: 160 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.1659, allocations: 2.906 MB / 351.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1659, allocations: 0 / 351.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1659, allocations: 7.984 kB / 351.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.868e-05/0.166, allocations: 0 / 351.7 MB, free: 13.23 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004689/0.1707, allocations: 2.201 MB / 353.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1707, allocations: 8.031 kB / 353.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.1716, allocations: 265.1 kB / 354.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.1739, allocations: 1.216 MB / 355.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.174, allocations: 143.8 kB / 355.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.1743, allocations: 196 kB / 355.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/0.1794, allocations: 2.403 MB / 358.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.1794, allocations: 11.91 kB / 358.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.1796, allocations: 79.94 kB / 358.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.1798, allocations: 91.67 kB / 358.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/0.1833, allocations: 1.955 MB / 360.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.1966, allocations: 7.891 MB / 368.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.1985, allocations: 1.22 MB / 369.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.2002, allocations: 0.944 MB / 370.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.2005, allocations: 122.1 kB / 370.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.2005, allocations: 55.5 kB / 370.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.336e-06/0.2005, allocations: 0 / 370.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01273/0.2133, allocations: 5.917 MB / 376.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.2134, allocations: 64.41 kB / 376.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.2155, allocations: 1.298 MB / 377.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.2157, allocations: 45.7 kB / 377.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007446/0.2164, allocations: 0.9198 MB / 378.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.2168, allocations: 390.4 kB / 379.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.2168, allocations: 28 kB / 379.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.217, allocations: 357.9 kB / 379.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009714/0.218, allocations: 0.6364 MB / 380.1 MB, free: 156 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2675/0.4855, allocations: 0.9946 MB / 381.1 MB, free: 50.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4869, allocations: 0.7828 MB / 381.9 MB, free: 50.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.487, allocations: 5.969 kB / 381.9 MB, free: 50.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004484/0.4915, allocations: 2.241 MB / 384.1 MB, free: 50.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.4915, allocations: 9.562 kB / 384.2 MB, free: 50.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.4915, allocations: 11 kB / 384.2 MB, free: 50.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.4928, allocations: 0.4898 MB / 384.7 MB, free: 49.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4939, allocations: 299.1 kB / 384.9 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007223/0.5012, allocations: 6.53 MB / 391.5 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.5027, allocations: 90.73 kB / 391.6 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5028, allocations: 54.75 kB / 391.6 MB, free: 44.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001419/0.5042, allocations: 0.6018 MB / 392.2 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/0.5046, allocations: 147.2 kB / 392.4 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.5085, allocations: 1.968 MB / 394.3 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5086, allocations: 7.938 kB / 394.3 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5086, allocations: 7.875 kB / 394.3 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5086, allocations: 9.391 kB / 394.4 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006458/0.5151, allocations: 4.131 MB / 398.5 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.5151, allocations: 7.406 kB / 398.5 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.5159, allocations: 184.2 kB / 398.7 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.5171, allocations: 0.5358 MB / 399.2 MB, free: 41.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.5172, allocations: 31.77 kB / 399.2 MB, free: 41.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.5233, allocations: 8.04 MB / 407.3 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5233, allocations: 2 kB / 407.3 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.5271, allocations: 2.857 MB / 410.1 MB, free: 33.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.5277, allocations: 355.2 kB / 410.5 MB, free: 32.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.5279, allocations: 28.19 kB / 410.5 MB, free: 32.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/0.5285, allocations: 79.88 kB / 410.6 MB, free: 32.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.5287, allocations: 92.84 kB / 410.7 MB, free: 32.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.5288, allocations: 31.98 kB / 410.7 MB, free: 32.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.53, allocations: 0.876 MB / 411.6 MB, free: 31.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.53, allocations: 0 / 411.6 MB, free: 31.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001585/0.5316, allocations: 436 kB / 412 MB, free: 31.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.5318, allocations: 153.8 kB / 412.2 MB, free: 30.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.5347, allocations: 2.225 MB / 414.4 MB, free: 28.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5347, allocations: 4 kB / 414.4 MB, free: 28.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.5364, allocations: 1.506 MB / 415.9 MB, free: 27.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.5381, allocations: 403.8 kB / 416.3 MB, free: 26.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.5441, allocations: 4.954 MB / 421.3 MB, free: 21.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/0.5451, allocations: 1.634 MB / 422.9 MB, free: 20 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.5455, allocations: 107.4 kB / 423 MB, free: 19.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5455, allocations: 0 / 423 MB, free: 19.89 MB / 318.1 MB Notification: Performance of Templates: time 0.08016/0.6256, allocations: 70.35 MB / 493.3 MB, free: 13.39 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.o] Error 1