Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.3 kB / 16.95 MB, free: 5.953 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.001185/0.001185, allocations: 177.7 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 241.8 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 4 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 50.43 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01628/0.164, allocations: 11.98 MB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.1769, allocations: 4.625 MB / 368.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.1811, allocations: 71.75 kB / 368.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004443/0.1855, allocations: 0.773 MB / 369.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007091/0.1927, allocations: 1.154 MB / 370.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.1963, allocations: 0.6995 MB / 371.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3063/0.5026, allocations: 4.274 MB / 375.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004409/0.5071, allocations: 2.311 MB / 377.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.5111, allocations: 1.397 MB / 379.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/0.5164, allocations: 1.838 MB / 381 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.5175, allocations: 221.2 kB / 381.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.5203, allocations: 0.5448 MB / 381.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.5217, allocations: 0.9402 MB / 382.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.5239, allocations: 0.8063 MB / 383.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00905/0.5329, allocations: 5.958 MB / 389.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.533, allocations: 0 / 389.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.533, allocations: 0 / 389.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003017/0.5333, allocations: 7.312 kB / 389.5 MB, free: 7.148 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.0152/0.5485, allocations: 4.264 MB / 393.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.5486, allocations: 9.25 kB / 393.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.555, allocations: 0.8837 MB / 394.6 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007918/0.563, allocations: 2.582 MB / 397.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.5633, allocations: 257.8 kB / 397.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.5646, allocations: 333 kB / 397.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.5746, allocations: 4.533 MB / 402.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.5748, allocations: 11.91 kB / 402.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.5751, allocations: 135.9 kB / 402.5 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.5753, allocations: 158.7 kB / 402.6 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/0.5838, allocations: 3.909 MB / 406.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03668/0.6205, allocations: 14.24 MB / 420.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009848/0.6304, allocations: 6.969 MB / 427.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.6343, allocations: 1.712 MB / 429.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.6461, allocations: 4.262 MB / 433.7 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.185e-05/0.6463, allocations: 43.88 kB / 433.8 MB, free: 448 kB / 334.1 MB Notification: Performance of pre-optimization done (n=165): time 4.98e-06/0.6463, allocations: 0 / 433.8 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=185): time 0.02073/0.667, allocations: 7.923 MB / 441.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.6671, allocations: 77.34 kB / 441.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007597/0.6747, allocations: 2.604 MB / 444.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.6751, allocations: 61.3 kB / 444.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.677, allocations: 1.618 MB / 446 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000938/0.6779, allocations: 0.6176 MB / 446.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.6782, allocations: 40 kB / 446.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.6784, allocations: 385.8 kB / 447.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.6805, allocations: 0.9136 MB / 448 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.6828, allocations: 1.306 MB / 449.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.6851, allocations: 1.139 MB / 450.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.6851, allocations: 4 kB / 450.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00658/0.6917, allocations: 3.069 MB / 453.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.6918, allocations: 12 kB / 453.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.6918, allocations: 8 kB / 453.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.6935, allocations: 0.5698 MB / 454.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.6952, allocations: 431.4 kB / 454.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.7054, allocations: 6.961 MB / 461.5 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.708, allocations: 92.02 kB / 461.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/0.7085, allocations: 79.97 kB / 461.6 MB, free: 3.945 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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%) 6,(8,62.5%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003989/0.7125, allocations: 1.155 MB / 462.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/0.7139, allocations: 252.9 kB / 463 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007229/0.7212, allocations: 2.911 MB / 466 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.527e-05/0.7213, allocations: 23.98 kB / 466 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-05/0.7213, allocations: 8 kB / 466 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.7214, allocations: 11.92 kB / 466 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.7387, allocations: 6.344 MB / 472.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.7388, allocations: 0 / 472.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7401, allocations: 287.7 kB / 472.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.742, allocations: 0.6098 MB / 473.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/0.7422, allocations: 53.3 kB / 473.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.7579, allocations: 10.47 MB / 483.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.758, allocations: 8.094 kB / 483.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/0.7678, allocations: 4.176 MB / 487.9 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/0.7702, allocations: 0.5486 MB / 488.5 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/0.7713, allocations: 32 kB / 488.5 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.7733, allocations: 95.98 kB / 488.6 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.7738, allocations: 137.8 kB / 488.8 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.774, allocations: 59.97 kB / 488.8 MB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003746/0.7777, allocations: 1.823 MB / 490.6 MB, free: 6.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7777, allocations: 0 / 490.6 MB, free: 6.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0038/0.7815, allocations: 0.6929 MB / 491.3 MB, free: 5.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 12,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.7829, allocations: 450.7 kB / 491.8 MB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00548/0.7884, allocations: 2.835 MB / 494.6 MB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7884, allocations: 4.062 kB / 494.6 MB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003306/0.7917, allocations: 1.95 MB / 496.6 MB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/0.7962, allocations: 0.5553 MB / 497.1 MB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.8129, allocations: 8.405 MB / 0.4937 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/0.816, allocations: 2.563 MB / 0.4962 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.8171, allocations: 183.4 kB / 0.4963 GB, free: 4.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.234e-06/0.8171, allocations: 0 / 0.4963 GB, free: 4.66 MB / 414.1 MB Notification: Performance of Templates: time 0.377/1.194, allocations: 99.78 MB / 0.5938 GB, free: 90.67 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1