Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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 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_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.33 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.001401/0.001401, allocations: 186 kB / 18.48 MB, free: 5.25 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.704/1.704, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004586/0.0004586, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1159, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01301/0.129, allocations: 11.77 MB / 340.8 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009101/0.1382, allocations: 4.408 MB / 345.2 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.1404, allocations: 67.69 kB / 345.2 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.143, allocations: 0.8354 MB / 346.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.1468, allocations: 1.135 MB / 347.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.1489, allocations: 0.6859 MB / 347.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005686/0.1546, allocations: 4.043 MB / 351.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.1574, allocations: 2.198 MB / 354.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.1597, allocations: 1.304 MB / 355.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.1624, allocations: 1.681 MB / 357.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.1629, allocations: 208 kB / 357.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1642, allocations: 431.7 kB / 357.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007268/0.1649, allocations: 0.7784 MB / 358.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.1659, allocations: 0.746 MB / 359.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005377/0.1713, allocations: 5.543 MB / 364.8 MB, free: 84 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1713, allocations: 0 / 364.8 MB, free: 84 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1713, allocations: 0 / 364.8 MB, free: 84 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.1715, allocations: 0 / 364.8 MB, free: 84 kB / 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.009973/0.1814, allocations: 3.829 MB / 368.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1815, allocations: 12.03 kB / 368.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.1859, allocations: 0.827 MB / 369.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.19, allocations: 2.191 MB / 371.7 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.1902, allocations: 242.3 kB / 371.9 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004615/0.1907, allocations: 323.9 kB / 372.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007676/0.1983, allocations: 4.268 MB / 376.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/0.1984, allocations: 0 / 376.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.1987, allocations: 132 kB / 376.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.1989, allocations: 154.4 kB / 376.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00582/0.2047, allocations: 3.597 MB / 380.4 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3091/0.5138, allocations: 13.46 MB / 393.8 MB, free: 40.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.5201, allocations: 6.956 MB / 400.8 MB, free: 33.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.5225, allocations: 1.393 MB / 402.2 MB, free: 33.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007729/0.5303, allocations: 3.85 MB / 406 MB, free: 30.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.5318, allocations: 0.8568 MB / 406.9 MB, free: 29.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.048e-06/0.5318, allocations: 0 / 406.9 MB, free: 29.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01304/0.5448, allocations: 6.547 MB / 413.4 MB, free: 25.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.545, allocations: 221.8 kB / 413.7 MB, free: 25.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.548, allocations: 1.893 MB / 415.5 MB, free: 24.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.5482, allocations: 57.27 kB / 415.6 MB, free: 24.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.5495, allocations: 1.478 MB / 417.1 MB, free: 23.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.55, allocations: 485 kB / 417.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.55, allocations: 36 kB / 417.6 MB, free: 22.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5502, allocations: 369.9 kB / 417.9 MB, free: 22.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/0.5512, allocations: 0.6559 MB / 418.6 MB, free: 21.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.5524, allocations: 1.214 MB / 419.8 MB, free: 20.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.5536, allocations: 0.8765 MB / 420.7 MB, free: 19.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.5536, allocations: 4 kB / 420.7 MB, free: 19.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003778/0.5574, allocations: 2.42 MB / 423.1 MB, free: 16.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.5575, allocations: 12 kB / 423.1 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.5575, allocations: 12 kB / 423.1 MB, free: 16.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/0.5582, allocations: 292.6 kB / 423.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5595, allocations: 379.4 kB / 423.8 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.5642, allocations: 5.852 MB / 429.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.5662, allocations: 95.92 kB / 429.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.5664, allocations: 75.98 kB / 429.8 MB, free: 9.777 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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.002481/0.5689, allocations: 1.037 MB / 430.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/0.5694, allocations: 205 kB / 431.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.5731, allocations: 2.238 MB / 433.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.5732, allocations: 20 kB / 433.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5732, allocations: 8 kB / 433.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.5732, allocations: 7.969 kB / 433.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009467/0.5827, allocations: 5.095 MB / 438.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.5827, allocations: 0 / 438.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/0.5835, allocations: 187.9 kB / 438.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.5846, allocations: 457.1 kB / 439.1 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.5847, allocations: 35.98 kB / 439.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.5955, allocations: 10.18 MB / 449.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5955, allocations: 4.031 kB / 449.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.6011, allocations: 3.12 MB / 452.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.6024, allocations: 438.5 kB / 452.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006541/0.6031, allocations: 36.11 kB / 452.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.6043, allocations: 75.91 kB / 452.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/0.6047, allocations: 109.1 kB / 453 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.6048, allocations: 39.98 kB / 453.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.003117/0.6079, allocations: 1.299 MB / 454.4 MB, free: 296 kB / 334.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6079, allocations: 0 / 454.4 MB, free: 296 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.003191/0.6111, allocations: 0.5768 MB / 455 MB, free: 15.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001201/0.6123, allocations: 465.3 kB / 455.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003587/0.6159, allocations: 2.163 MB / 457.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6159, allocations: 5.75 kB / 457.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.6182, allocations: 1.565 MB / 459.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.6208, allocations: 0.5253 MB / 459.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.632, allocations: 7.001 MB / 466.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.6342, allocations: 2.309 MB / 469 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/0.6349, allocations: 147.4 kB / 469.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6349, allocations: 0 / 469.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Templates: time 0.3631/0.998, allocations: 113.6 MB / 0.5691 GB, free: 133.4 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_ConveyorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_ConveyorCalcHelperMain.o] Error 1