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.0009194/0.0009197, allocations: 91.28 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.0008817/0.0008817, allocations: 185 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.708/1.708, allocations: 205.4 MB / 224.6 MB, free: 13.13 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.0004823/0.0004823, allocations: 11.94 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01317/0.1248, allocations: 11.94 MB / 340.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009255/0.1341, allocations: 4.13 MB / 345.1 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.1374, allocations: 63.75 kB / 345.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.141, allocations: 0.7379 MB / 345.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.1454, allocations: 1.088 MB / 347 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.1474, allocations: 0.6158 MB / 347.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006584/0.154, allocations: 4.063 MB / 351.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.157, allocations: 2.175 MB / 353.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.1595, allocations: 1.3 MB / 355.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.162, allocations: 1.611 MB / 356.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.1624, allocations: 208 kB / 356.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1636, allocations: 407.7 kB / 357.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006944/0.1643, allocations: 0.7434 MB / 358.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.1654, allocations: 0.746 MB / 358.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.1712, allocations: 5.469 MB / 364.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.1713, allocations: 0 / 364.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1713, allocations: 0 / 364.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002627/0.1716, allocations: 0 / 364.3 MB, free: 0.6133 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0111/0.1827, allocations: 3.736 MB / 368 MB, free: 12.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1827, allocations: 12.03 kB / 368 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.1872, allocations: 0.8232 MB / 368.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.1917, allocations: 2.159 MB / 371 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.1919, allocations: 238.5 kB / 371.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.1924, allocations: 323.9 kB / 371.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007822/0.2003, allocations: 4.247 MB / 375.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.496e-05/0.2003, allocations: 3.938 kB / 375.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.2006, allocations: 136 kB / 375.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.2008, allocations: 146.4 kB / 376.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006819/0.2076, allocations: 3.582 MB / 379.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3071/0.5147, allocations: 13.94 MB / 393.6 MB, free: 40.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/0.5214, allocations: 6.554 MB / 400.2 MB, free: 34.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.5234, allocations: 1.396 MB / 401.6 MB, free: 33.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006166/0.5296, allocations: 3.647 MB / 405.2 MB, free: 31.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5297, allocations: 49.38 kB / 405.2 MB, free: 31.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 2.956e-06/0.5297, allocations: 1.375 kB / 405.3 MB, free: 31.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.01021/0.5399, allocations: 5.946 MB / 411.2 MB, free: 27.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.54, allocations: 71.28 kB / 411.3 MB, free: 27.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.5422, allocations: 1.762 MB / 413 MB, free: 26.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.5423, allocations: 53.39 kB / 413.1 MB, free: 26.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00073/0.5431, allocations: 1.436 MB / 414.5 MB, free: 25.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.5434, allocations: 478.1 kB / 415 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.5435, allocations: 35.09 kB / 415 MB, free: 24.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5436, allocations: 380.3 kB / 415.4 MB, free: 24.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.5445, allocations: 0.6774 MB / 416.1 MB, free: 23.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.5456, allocations: 1.192 MB / 417.3 MB, free: 22.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.5467, allocations: 0.8939 MB / 418.2 MB, free: 22.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.5468, allocations: 8 kB / 418.2 MB, free: 22.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003538/0.5503, allocations: 2.531 MB / 420.7 MB, free: 19.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.5504, allocations: 12 kB / 420.7 MB, free: 19.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.5504, allocations: 16 kB / 420.7 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/0.5513, allocations: 372.6 kB / 421.1 MB, free: 19.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.5525, allocations: 383.4 kB / 421.5 MB, free: 18.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.558, allocations: 7.665 MB / 429.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.5596, allocations: 75.95 kB / 429.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.5597, allocations: 76 kB / 429.3 MB, free: 10.41 MB / 318.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 (idealCloser.control,idealOpener.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 (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 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001776/0.5615, allocations: 1.017 MB / 430.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.5618, allocations: 189.7 kB / 430.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.5651, allocations: 2.291 MB / 432.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.5651, allocations: 12 kB / 432.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.5651, allocations: 8 kB / 432.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.5651, allocations: 7.969 kB / 432.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.5718, allocations: 5.072 MB / 437.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.5719, allocations: 4 kB / 437.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.5726, allocations: 176 kB / 438 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.5737, allocations: 0.5318 MB / 438.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-05/0.5738, allocations: 43.94 kB / 438.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.5854, allocations: 12.06 MB / 450.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5855, allocations: 3.938 kB / 450.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.5907, allocations: 3.214 MB / 453.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.5918, allocations: 435.6 kB / 454.3 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.5921, allocations: 32.56 kB / 454.3 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.5928, allocations: 67.95 kB / 454.4 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.5931, allocations: 113.1 kB / 454.5 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.5932, allocations: 39.98 kB / 454.6 MB, free: 36 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001883/0.5951, allocations: 1.207 MB / 455.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.5951, allocations: 0 / 455.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002262/0.5974, allocations: 0.5833 MB / 456.4 MB, free: 14.26 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003278/0.5977, allocations: 152.8 kB / 456.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.6013, allocations: 2.347 MB / 458.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6013, allocations: 0 / 458.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.6038, allocations: 1.745 MB / 460.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.6063, allocations: 0.5336 MB / 461.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.6171, allocations: 7.048 MB / 468.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.6191, allocations: 2.257 MB / 470.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.6197, allocations: 139.3 kB / 470.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6197, allocations: 0 / 470.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Templates: time 0.3652/0.9849, allocations: 128 MB / 0.5846 GB, free: 116.6 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++ 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_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