Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 93.72 kB / 17.96 MB, free: 5.609 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.001499/0.001499, allocations: 179.5 kB / 18.86 MB, free: 4.754 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.344/2.344, 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.0005019/0.0005019, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 47.59 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01929/0.1534, allocations: 12.77 MB / 342.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1679, allocations: 4.343 MB / 346.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004759/0.1727, allocations: 63.75 kB / 346.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005068/0.1778, allocations: 0.8589 MB / 347.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008353/0.1862, allocations: 1.173 MB / 348.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.1908, allocations: 0.8267 MB / 349.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.2015, allocations: 4.328 MB / 354 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00625/0.2078, allocations: 2.619 MB / 356.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.2122, allocations: 1.326 MB / 357.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00445/0.2166, allocations: 1.68 MB / 359.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.2183, allocations: 208 kB / 359.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.2216, allocations: 419.7 kB / 360.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.224, allocations: 0.7665 MB / 361 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004276/0.2283, allocations: 1.766 MB / 362.8 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.2356, allocations: 5.477 MB / 368.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.2357, allocations: 4 kB / 368.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2357, allocations: 0 / 368.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002112/0.2359, allocations: 0 / 368.2 MB, free: 12.92 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01334/0.2493, allocations: 3.704 MB / 371.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.2494, allocations: 8.031 kB / 372 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/0.2551, allocations: 0.8241 MB / 372.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00777/0.2629, allocations: 2.217 MB / 375 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/0.2635, allocations: 242.8 kB / 375.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.2651, allocations: 324 kB / 375.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.2817, allocations: 4.27 MB / 379.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.2819, allocations: 4 kB / 379.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/0.2834, allocations: 132 kB / 380 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003088/0.2837, allocations: 146.4 kB / 380.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3963/0.68, allocations: 3.606 MB / 383.7 MB, free: 31.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.7245, allocations: 13.95 MB / 397.7 MB, free: 26.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009337/0.7339, allocations: 6.557 MB / 404.2 MB, free: 20.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/0.7381, allocations: 1.397 MB / 405.6 MB, free: 20.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.7488, allocations: 3.647 MB / 409.3 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.817e-05/0.7491, allocations: 50.53 kB / 409.3 MB, free: 17.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 8.957e-06/0.7491, allocations: 0 / 409.3 MB, free: 17.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.01636/0.7654, allocations: 5.917 MB / 415.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.7656, allocations: 67.72 kB / 415.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005141/0.7708, allocations: 1.787 MB / 417.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.7711, allocations: 53.7 kB / 417.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.7724, allocations: 1.428 MB / 418.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00066/0.7731, allocations: 484.1 kB / 419 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.7735, allocations: 149.6 kB / 419.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7736, allocations: 301.1 kB / 419.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.775, allocations: 0.6775 MB / 420.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.7768, allocations: 1.203 MB / 421.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/0.7802, allocations: 2.008 MB / 423.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-05/0.7803, allocations: 4 kB / 423.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005527/0.7858, allocations: 2.552 MB / 425.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.7859, allocations: 15.84 kB / 425.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/0.786, allocations: 20 kB / 425.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.7871, allocations: 361.5 kB / 426.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.7885, allocations: 381.3 kB / 426.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.7994, allocations: 7.701 MB / 434.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.8019, allocations: 87.7 kB / 434.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/0.8024, allocations: 76 kB / 434.5 MB, free: 9.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003518/0.8059, allocations: 0.9996 MB / 435.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009279/0.8069, allocations: 193.7 kB / 435.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/0.8131, allocations: 2.293 MB / 438 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/0.8131, allocations: 15.98 kB / 438 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.444e-05/0.8132, allocations: 10.19 kB / 438 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.8132, allocations: 3.984 kB / 438 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.8278, allocations: 5.091 MB / 443.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.8279, allocations: 0 / 443.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.8288, allocations: 174.6 kB / 443.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.8307, allocations: 0.5387 MB / 443.8 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.8309, allocations: 35.98 kB / 443.9 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.8478, allocations: 12.1 MB / 456 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.8478, allocations: 4.031 kB / 456 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/0.8558, allocations: 3.232 MB / 459.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.8579, allocations: 425.2 kB / 459.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008486/0.8587, allocations: 38.28 kB / 459.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.8604, allocations: 71.95 kB / 459.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/0.8609, allocations: 108.7 kB / 459.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.8611, allocations: 40 kB / 459.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003683/0.8648, allocations: 1.219 MB / 461.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8648, allocations: 0 / 461.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004261/0.869, allocations: 0.5781 MB / 461.7 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006899/0.8698, allocations: 155.3 kB / 461.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005577/0.8754, allocations: 2.364 MB / 464.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.8754, allocations: 4 kB / 464.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003963/0.8794, allocations: 1.745 MB / 465.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/0.8848, allocations: 0.5063 MB / 466.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/0.9042, allocations: 7.401 MB / 473.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004463/0.9087, allocations: 2.253 MB / 476.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008715/0.9096, allocations: 135.4 kB / 476.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.9097, allocations: 4 kB / 476.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Templates: time 0.488/1.398, allocations: 127.9 MB / 0.59 GB, free: 98.46 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.AIMC_SteinmetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_SteinmetzCalcHelperMain.o] Error 1