Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 88.23 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.001369/0.001369, allocations: 197.1 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.501/1.501, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 8 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1273, allocations: 51.48 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01497/0.1424, allocations: 12.37 MB / 371.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3347/0.4771, allocations: 4.79 MB / 376 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.4807, allocations: 78 kB / 376 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00422/0.485, allocations: 0.8602 MB / 376.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006655/0.4917, allocations: 1.145 MB / 378.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.4953, allocations: 0.7234 MB / 378.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00982/0.5052, allocations: 4.141 MB / 382.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004871/0.5101, allocations: 2.245 MB / 385.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.5146, allocations: 1.322 MB / 386.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006033/0.5207, allocations: 1.682 MB / 388.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.5223, allocations: 208 kB / 388.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.526, allocations: 450.7 kB / 388.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.5274, allocations: 0.7754 MB / 389.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.5299, allocations: 0.75 MB / 390.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008286/0.5382, allocations: 5.59 MB / 395.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.5382, allocations: 0 / 395.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5382, allocations: 1.344 kB / 395.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002303/0.5384, allocations: 0 / 395.9 MB, free: 3.41 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01346/0.5519, allocations: 3.872 MB / 399.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.552, allocations: 9.219 kB / 399.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005648/0.5577, allocations: 0.8342 MB / 400.6 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006967/0.5646, allocations: 2.312 MB / 403 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.565, allocations: 246.4 kB / 403.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.5665, allocations: 323.2 kB / 403.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.5794, allocations: 4.261 MB / 407.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/0.5795, allocations: 7.984 kB / 407.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.5799, allocations: 130.2 kB / 407.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/0.5801, allocations: 154.4 kB / 408.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.5899, allocations: 3.613 MB / 411.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03007/0.6201, allocations: 13.54 MB / 425.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008279/0.6284, allocations: 7.212 MB / 432.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003472/0.6319, allocations: 1.585 MB / 434 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009109/0.6411, allocations: 4.345 MB / 438.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.6427, allocations: 0.8689 MB / 439.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 3.627e-06/0.6427, allocations: 2.516 kB / 439.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01655/0.6593, allocations: 6.761 MB / 446 MB, free: 2.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.6596, allocations: 222.9 kB / 446.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0042/0.6638, allocations: 1.924 MB / 448.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.664, allocations: 53.7 kB / 448.2 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.6659, allocations: 1.496 MB / 449.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/0.6665, allocations: 487.9 kB / 450.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.6666, allocations: 32 kB / 450.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.6668, allocations: 369.9 kB / 450.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.6681, allocations: 0.6753 MB / 451.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.6701, allocations: 1.217 MB / 452.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.6718, allocations: 0.8936 MB / 453.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.6718, allocations: 4 kB / 453.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005486/0.6773, allocations: 2.501 MB / 455.8 MB, free: 8.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.6773, allocations: 12 kB / 455.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/0.6774, allocations: 19.98 kB / 455.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.6785, allocations: 338.8 kB / 456.2 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.6799, allocations: 379.3 kB / 456.6 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.6877, allocations: 6.272 MB / 462.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.6899, allocations: 95.86 kB / 462.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.69, allocations: 76.23 kB / 463 MB, free: 0.9336 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * 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: 3 * 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: 3 {(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.6928, allocations: 1.032 MB / 464 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/0.6934, allocations: 205.5 kB / 464.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.6979, allocations: 2.344 MB / 466.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6979, allocations: 12 kB / 466.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.698, allocations: 8 kB / 466.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.698, allocations: 7.969 kB / 466.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009667/0.7077, allocations: 5.245 MB / 471.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.7077, allocations: 0 / 471.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/0.7085, allocations: 183.9 kB / 472 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.7098, allocations: 0.503 MB / 472.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.71, allocations: 39.94 kB / 472.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.7223, allocations: 10.59 MB / 483.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7223, allocations: 3.953 kB / 483.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/0.7288, allocations: 3.23 MB / 486.4 MB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/0.7306, allocations: 442.4 kB / 486.8 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.7309, allocations: 51.92 kB / 486.9 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/0.7318, allocations: 67.91 kB / 487 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/0.7322, allocations: 97.17 kB / 487.1 MB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.7323, allocations: 43.98 kB / 487.1 MB, free: 7.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002703/0.735, allocations: 1.316 MB / 488.4 MB, free: 6.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.735, allocations: 0 / 488.4 MB, free: 6.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003255/0.7383, allocations: 0.6 MB / 489 MB, free: 5.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/0.7398, allocations: 479.5 kB / 489.5 MB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.7441, allocations: 2.207 MB / 491.7 MB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7441, allocations: 4 kB / 491.7 MB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002786/0.7469, allocations: 1.615 MB / 493.3 MB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.7503, allocations: 0.5342 MB / 493.8 MB, free: 1.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.7647, allocations: 7.029 MB / 0.4891 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.7673, allocations: 2.312 MB / 0.4914 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/0.7681, allocations: 147.4 kB / 0.4915 GB, free: 7.598 MB / 414.1 MB Notification: Performance of SimCode: time 1.943e-06/0.7681, allocations: 0 / 0.4915 GB, free: 7.598 MB / 414.1 MB Notification: Performance of Templates: time 0.4224/1.19, allocations: 114.5 MB / 0.6034 GB, free: 87.88 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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_ConveyorCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1