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_Conveyor.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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 93.42 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.001246/0.001246, allocations: 181.5 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.532/1.532, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 12.5 kB / 301.5 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 50.41 MB / 351.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01375/0.1413, allocations: 11.82 MB / 363.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1523, allocations: 4.485 MB / 368.2 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.1556, allocations: 71.69 kB / 368.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.1594, allocations: 0.8472 MB / 369.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005501/0.1649, allocations: 1.131 MB / 370.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.1677, allocations: 0.6931 MB / 370.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3328/0.5004, allocations: 4.024 MB / 375 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005235/0.5057, allocations: 2.253 MB / 377.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.5108, allocations: 1.31 MB / 378.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006166/0.517, allocations: 1.677 MB / 380.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.5188, allocations: 205.8 kB / 380.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.5229, allocations: 431.3 kB / 380.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.5248, allocations: 0.7678 MB / 381.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003466/0.5283, allocations: 0.747 MB / 382.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.5412, allocations: 5.553 MB / 387.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.5413, allocations: 0.9688 kB / 387.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.5413, allocations: 3.938 kB / 387.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003435/0.5417, allocations: 0 / 387.9 MB, free: 7.723 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.01789/0.5596, allocations: 3.84 MB / 391.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.5597, allocations: 8.406 kB / 391.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007687/0.5674, allocations: 0.8235 MB / 392.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009476/0.5769, allocations: 2.296 MB / 394.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006119/0.5775, allocations: 243.6 kB / 395.1 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.5799, allocations: 325.6 kB / 395.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.598, allocations: 4.261 MB / 399.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002606/0.5983, allocations: 7.312 kB / 399.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/0.6001, allocations: 130.1 kB / 399.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.6003, allocations: 152.3 kB / 400 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009966/0.6103, allocations: 3.613 MB / 403.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03273/0.6431, allocations: 13.46 MB / 417 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00856/0.6517, allocations: 6.94 MB / 424 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.6546, allocations: 1.393 MB / 425.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009505/0.6642, allocations: 3.87 MB / 429.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/0.6658, allocations: 0.8532 MB / 430.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 3.707e-06/0.6658, allocations: 0 / 430.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=140): time 0.01535/0.6812, allocations: 6.586 MB / 436.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.6814, allocations: 226.9 kB / 436.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005637/0.687, allocations: 1.895 MB / 438.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003348/0.6874, allocations: 49.7 kB / 438.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00241/0.6898, allocations: 1.471 MB / 440.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000913/0.6907, allocations: 487.3 kB / 440.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.691, allocations: 32 kB / 440.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.6913, allocations: 376.4 kB / 441.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.6929, allocations: 0.6635 MB / 441.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.6949, allocations: 1.209 MB / 443.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.6968, allocations: 0.8799 MB / 443.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.6968, allocations: 8 kB / 443.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005948/0.7028, allocations: 2.42 MB / 446.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.7029, allocations: 12 kB / 446.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.585e-05/0.7029, allocations: 12 kB / 446.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.704, allocations: 287.5 kB / 446.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.7055, allocations: 383.4 kB / 447 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/0.712, allocations: 5.847 MB / 452.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.7139, allocations: 99.92 kB / 453 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.7142, allocations: 71.98 kB / 453.1 MB, free: 11.97 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 (196): * Single equations (assignments): 192 * 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%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003045/0.7172, allocations: 1.034 MB / 454.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006696/0.7179, allocations: 201.6 kB / 454.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.7225, allocations: 2.25 MB / 456.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.7225, allocations: 15.94 kB / 456.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/0.7225, allocations: 8 kB / 456.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.7226, allocations: 12.14 kB / 456.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.7333, allocations: 5.107 MB / 461.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.7334, allocations: 4.094 kB / 461.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.7342, allocations: 183.8 kB / 461.9 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.7354, allocations: 467.2 kB / 462.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.7355, allocations: 39.98 kB / 462.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.7459, allocations: 10.2 MB / 472.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.746, allocations: 0 / 472.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.7518, allocations: 3.132 MB / 475.7 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.7533, allocations: 434.5 kB / 476.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007572/0.754, allocations: 36 kB / 476.1 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.7554, allocations: 63.95 kB / 476.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.7557, allocations: 109.1 kB / 476.3 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/0.7558, allocations: 40.11 kB / 476.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00316/0.759, allocations: 1.295 MB / 477.7 MB, free: 2.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.759, allocations: 0 / 477.7 MB, free: 2.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003485/0.7625, allocations: 0.5937 MB / 478.2 MB, free: 1.859 MB / 382.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 (102): * Single equations (assignments): 95 * 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%) 5,(1,100.0%) 13,(1,100.0%) 3,(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.001392/0.7639, allocations: 468.1 kB / 478.7 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00412/0.768, allocations: 2.174 MB / 480.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7681, allocations: 0 / 480.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7707, allocations: 1.572 MB / 482.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/0.7745, allocations: 0.5212 MB / 483 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.7895, allocations: 6.99 MB / 490 MB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/0.7931, allocations: 2.301 MB / 492.3 MB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009266/0.794, allocations: 147.4 kB / 492.4 MB, free: 3.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.653e-06/0.794, allocations: 4 kB / 492.4 MB, free: 3.676 MB / 398.1 MB Notification: Performance of Templates: time 0.409/1.203, allocations: 113.6 MB / 0.5919 GB, free: 105.8 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1