Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000854/0.000854, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 7.984 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01499/0.1626, allocations: 12.55 MB / 371.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3471/0.5098, allocations: 4.929 MB / 376.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.5134, allocations: 75.06 kB / 376.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.5174, allocations: 0.7903 MB / 377.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006672/0.5241, allocations: 1.167 MB / 378.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.5276, allocations: 0.7219 MB / 379 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.5378, allocations: 4.394 MB / 383.4 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005577/0.5434, allocations: 2.314 MB / 385.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005521/0.549, allocations: 1.395 MB / 387.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007119/0.5562, allocations: 1.853 MB / 389 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001749/0.5579, allocations: 221.4 kB / 389.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004682/0.5626, allocations: 0.5717 MB / 389.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.5644, allocations: 0.9436 MB / 390.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.5676, allocations: 0.8123 MB / 391.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.5786, allocations: 5.994 MB / 397.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5786, allocations: 0 / 397.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.5786, allocations: 0 / 397.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003668/0.579, allocations: 0 / 397.5 MB, free: 2.258 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.01671/0.5957, allocations: 4.302 MB / 401.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5958, allocations: 8.688 kB / 401.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006816/0.6026, allocations: 0.9187 MB / 402.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007808/0.6104, allocations: 2.608 MB / 405.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.6108, allocations: 249.6 kB / 405.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.6121, allocations: 335.9 kB / 405.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.6234, allocations: 4.531 MB / 410.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.875e-05/0.6236, allocations: 3.938 kB / 410.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.624, allocations: 144 kB / 410.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.6242, allocations: 158.7 kB / 410.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008509/0.6327, allocations: 3.915 MB / 414.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/0.6736, allocations: 14.24 MB / 428.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.6871, allocations: 6.976 MB / 435.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/0.6917, allocations: 1.703 MB / 437.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01256/0.7043, allocations: 4.507 MB / 442.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/0.7044, allocations: 47.88 kB / 442.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=165): time 6.693e-06/0.7044, allocations: 4 kB / 442.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=185): time 0.02215/0.7266, allocations: 7.917 MB / 450.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.7267, allocations: 73.34 kB / 450.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007903/0.7346, allocations: 2.641 MB / 452.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002864/0.7349, allocations: 57.7 kB / 452.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.7372, allocations: 1.627 MB / 454.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009772/0.7382, allocations: 0.6224 MB / 455.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.7384, allocations: 40 kB / 455.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.7386, allocations: 377.9 kB / 455.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.7406, allocations: 0.9175 MB / 456.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.7429, allocations: 1.314 MB / 457.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.7452, allocations: 1.13 MB / 458.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.7452, allocations: 0 / 458.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006861/0.7521, allocations: 3.086 MB / 461.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.7522, allocations: 11.94 kB / 462 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/0.7522, allocations: 12 kB / 462 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.7539, allocations: 0.5621 MB / 462.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.7557, allocations: 431.4 kB / 463 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.7666, allocations: 6.944 MB / 469.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.7691, allocations: 99.91 kB / 470 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/0.7695, allocations: 71.98 kB / 470.1 MB, free: 10.47 MB / 382.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.003772/0.7733, allocations: 1.169 MB / 471.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.7745, allocations: 252.8 kB / 471.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007566/0.7821, allocations: 2.897 MB / 474.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.171e-05/0.7822, allocations: 26.08 kB / 474.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-05/0.7823, allocations: 8.062 kB / 474.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/0.7823, allocations: 11.97 kB / 474.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.7978, allocations: 6.363 MB / 480.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.7979, allocations: 3.984 kB / 480.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.7992, allocations: 287.7 kB / 481.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.801, allocations: 0.625 MB / 481.7 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.8012, allocations: 39.98 kB / 481.7 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.8141, allocations: 10.47 MB / 492.2 MB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.8141, allocations: 7.984 kB / 492.2 MB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008201/0.8223, allocations: 4.176 MB / 496.4 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.8244, allocations: 0.5486 MB / 496.9 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/0.8247, allocations: 38.73 kB / 497 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.8259, allocations: 95.89 kB / 497.1 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.8264, allocations: 133.8 kB / 497.2 MB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.8265, allocations: 51.98 kB / 497.2 MB, free: 14.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003439/0.83, allocations: 1.855 MB / 499.1 MB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.83, allocations: 0 / 499.1 MB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003362/0.8333, allocations: 0.6954 MB / 499.8 MB, free: 12.07 MB / 414.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.001409/0.8348, allocations: 449.8 kB / 0.4885 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005769/0.8405, allocations: 2.848 MB / 0.4913 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8406, allocations: 0.75 kB / 0.4913 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003414/0.844, allocations: 1.941 MB / 0.4932 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.8476, allocations: 0.5807 MB / 0.4938 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.8638, allocations: 8.411 MB / 0.502 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002974/0.8669, allocations: 2.578 MB / 0.5045 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.8681, allocations: 183.4 kB / 0.5047 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.924e-06/0.8681, allocations: 0 / 0.5047 GB, free: 11.09 MB / 430.1 MB Notification: Performance of Templates: time 0.4396/1.308, allocations: 100.5 MB / 0.6028 GB, free: 84.17 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1