Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.0008479, allocations: 93.86 kB / 17.58 MB, free: 5.801 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.0009148/0.0009147, allocations: 181.1 kB / 18.48 MB, free: 5.254 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.669/1.669, allocations: 205.4 MB / 224.6 MB, free: 13.05 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.0004545/0.0004545, allocations: 12 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 47.58 MB / 329 MB, free: 4.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01324/0.1208, allocations: 11.26 MB / 340.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.1319, allocations: 3.978 MB / 344.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.1347, allocations: 63.75 kB / 344.3 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.1376, allocations: 0.7263 MB / 345 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.1418, allocations: 1.061 MB / 346.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1437, allocations: 0.5691 MB / 346.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006192/0.1499, allocations: 4.059 MB / 350.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/0.1531, allocations: 2.189 MB / 352.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.1557, allocations: 1.276 MB / 354.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.1584, allocations: 1.653 MB / 355.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.1588, allocations: 208 kB / 356 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1601, allocations: 395.8 kB / 356.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007784/0.1609, allocations: 0.7746 MB / 357.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1621, allocations: 0.7382 MB / 357.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.168, allocations: 5.524 MB / 363.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.168, allocations: 0 / 363.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1681, allocations: 0 / 363.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.1682, allocations: 0 / 363.5 MB, free: 1.422 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01091/0.1792, allocations: 3.755 MB / 367.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.1793, allocations: 12.03 kB / 367.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.1844, allocations: 0.8115 MB / 368 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.1892, allocations: 2.198 MB / 370.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.1895, allocations: 238.2 kB / 370.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/0.19, allocations: 307.9 kB / 370.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00829/0.1983, allocations: 4.242 MB / 375 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.1984, allocations: 4 kB / 375 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.1987, allocations: 131.8 kB / 375.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.1989, allocations: 150.2 kB / 375.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006793/0.2057, allocations: 3.644 MB / 378.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2842/0.49, allocations: 13.56 MB / 392.5 MB, free: 41.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005882/0.4959, allocations: 6.856 MB / 399.4 MB, free: 35.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.4982, allocations: 1.431 MB / 400.8 MB, free: 34.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006364/0.5045, allocations: 3.651 MB / 404.4 MB, free: 32.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.5046, allocations: 48.94 kB / 404.5 MB, free: 32.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=124): time 4.829e-06/0.5046, allocations: 0 / 404.5 MB, free: 32.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.01226/0.5169, allocations: 6.725 MB / 411.2 MB, free: 27.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.517, allocations: 71.73 kB / 411.3 MB, free: 27.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.5193, allocations: 1.845 MB / 413.1 MB, free: 26.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.5194, allocations: 53.61 kB / 413.2 MB, free: 26.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.5201, allocations: 1.412 MB / 414.6 MB, free: 25.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.5205, allocations: 0.4926 MB / 415.1 MB, free: 25.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.5206, allocations: 34.75 kB / 415.1 MB, free: 25.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5207, allocations: 372.7 kB / 415.5 MB, free: 24.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.5217, allocations: 0.7697 MB / 416.2 MB, free: 24.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.5228, allocations: 1.216 MB / 417.5 MB, free: 22.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.524, allocations: 0.9824 MB / 418.4 MB, free: 21.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.524, allocations: 4 kB / 418.4 MB, free: 21.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003585/0.5276, allocations: 2.667 MB / 421.1 MB, free: 19.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.5276, allocations: 16.03 kB / 421.1 MB, free: 19.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5277, allocations: 12 kB / 421.1 MB, free: 19.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.5288, allocations: 0.5078 MB / 421.7 MB, free: 18.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.53, allocations: 395.4 kB / 422 MB, free: 18.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.5362, allocations: 6.399 MB / 428.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.5377, allocations: 75.95 kB / 428.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5378, allocations: 71.98 kB / 428.6 MB, free: 11.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001783/0.5396, allocations: 1.044 MB / 429.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.5398, allocations: 193.7 kB / 429.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.5432, allocations: 2.514 MB / 432.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5433, allocations: 16 kB / 432.3 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5433, allocations: 4 kB / 432.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5433, allocations: 7.969 kB / 432.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006833/0.5501, allocations: 5.542 MB / 437.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5502, allocations: 0 / 437.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/0.551, allocations: 223.9 kB / 438.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.5521, allocations: 0.4985 MB / 438.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.5521, allocations: 35.98 kB / 438.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.5624, allocations: 10.44 MB / 449.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5624, allocations: 4.031 kB / 449.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/0.5693, allocations: 3.576 MB / 452.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.5705, allocations: 466.5 kB / 453.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.5708, allocations: 28 kB / 453.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/0.5716, allocations: 75.95 kB / 453.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.5719, allocations: 109.1 kB / 453.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.572, allocations: 39.98 kB / 453.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00206/0.5741, allocations: 1.274 MB / 454.7 MB, free: 380 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5741, allocations: 0 / 454.7 MB, free: 380 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002226/0.5763, allocations: 0.586 MB / 455.2 MB, free: 15.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,loadInertia.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.5767, allocations: 161.2 kB / 455.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.5808, allocations: 2.406 MB / 457.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5809, allocations: 0 / 457.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.5833, allocations: 1.727 MB / 459.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.5856, allocations: 0.4992 MB / 460 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.5965, allocations: 7.095 MB / 467.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.5986, allocations: 2.312 MB / 469.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.5993, allocations: 147.3 kB / 469.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5993, allocations: 0 / 469.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of Templates: time 0.2851/0.8844, allocations: 97 MB / 0.5533 GB, free: 145.9 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InitializeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InitializeCalcHelperMain.o] Error 1