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.001748/0.001748, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002316/0.002316, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001699/0.001699, allocations: 43.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1704, allocations: 46.64 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.0208/0.1912, allocations: 13.23 MB / 340.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2057, allocations: 4.694 MB / 345.2 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005316/0.2111, allocations: 67.69 kB / 345.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005774/0.2169, allocations: 0.9682 MB / 346.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008682/0.2257, allocations: 1.248 MB / 347.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.2305, allocations: 0.8967 MB / 348.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.241, allocations: 4.324 MB / 352.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007322/0.2483, allocations: 2.666 MB / 355.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.2534, allocations: 1.518 MB / 356.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005758/0.2592, allocations: 1.992 MB / 358.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002354/0.2616, allocations: 296 kB / 359.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/0.2658, allocations: 0.5388 MB / 359.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.2679, allocations: 0.9148 MB / 360.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005253/0.2731, allocations: 1.905 MB / 362.5 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007463/0.2806, allocations: 5.705 MB / 368.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.2807, allocations: 0 / 368.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.2807, allocations: 0 / 368.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002679/0.281, allocations: 8 kB / 368.2 MB, free: 11.7 MB / 318.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.01739/0.2984, allocations: 4.472 MB / 372.7 MB, free: 7.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/0.2985, allocations: 11.97 kB / 372.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.3035, allocations: 0.8318 MB / 373.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.3097, allocations: 2.249 MB / 375.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.3101, allocations: 246.3 kB / 376 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.3114, allocations: 323.9 kB / 376.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3254/0.6368, allocations: 4.278 MB / 380.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-05/0.637, allocations: 6.062 kB / 380.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/0.6374, allocations: 130.6 kB / 380.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.6377, allocations: 153.9 kB / 380.9 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009772/0.6475, allocations: 3.615 MB / 384.5 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.027/0.6745, allocations: 13.42 MB / 397.9 MB, free: 38.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006896/0.6815, allocations: 6.957 MB / 404.9 MB, free: 31.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.6837, allocations: 1.385 MB / 406.3 MB, free: 30.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007523/0.6912, allocations: 3.84 MB / 410.1 MB, free: 27.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.6926, allocations: 0.8476 MB / 411 MB, free: 27.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.407e-06/0.6927, allocations: 0 / 411 MB, free: 27.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01323/0.7059, allocations: 6.498 MB / 417.5 MB, free: 22.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.7061, allocations: 222.9 kB / 417.7 MB, free: 22.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/0.709, allocations: 1.907 MB / 419.6 MB, free: 20.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/0.7092, allocations: 49.7 kB / 419.6 MB, free: 20.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.7105, allocations: 1.48 MB / 421.1 MB, free: 18.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.7109, allocations: 489.4 kB / 421.6 MB, free: 18.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/0.7114, allocations: 307.3 kB / 421.9 MB, free: 18.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7116, allocations: 305.1 kB / 422.2 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009901/0.7126, allocations: 0.6637 MB / 422.9 MB, free: 17.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.714, allocations: 1.214 MB / 424.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.7164, allocations: 1.936 MB / 426 MB, free: 13.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.7164, allocations: 4 kB / 426 MB, free: 13.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003795/0.7202, allocations: 2.433 MB / 428.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.7203, allocations: 12 kB / 428.5 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.7203, allocations: 12 kB / 428.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007773/0.7211, allocations: 289.9 kB / 428.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.7225, allocations: 391.3 kB / 429.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.7276, allocations: 5.845 MB / 435 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.7298, allocations: 95.92 kB / 435.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7299, allocations: 75.84 kB / 435.2 MB, free: 3.914 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 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002752/0.7327, allocations: 1.035 MB / 436.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.7332, allocations: 201.5 kB / 436.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.7382, allocations: 2.254 MB / 438.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.7382, allocations: 16 kB / 438.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-05/0.7383, allocations: 8 kB / 438.7 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.7383, allocations: 11.95 kB / 438.7 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.7516, allocations: 5.102 MB / 443.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.7516, allocations: 0 / 443.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.7526, allocations: 179.8 kB / 443.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.7542, allocations: 461.1 kB / 444.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.7544, allocations: 43.92 kB / 444.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.7683, allocations: 10.19 MB / 454.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7684, allocations: 3.938 kB / 454.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/0.7763, allocations: 3.129 MB / 457.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/0.7782, allocations: 430.5 kB / 458.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009987/0.7792, allocations: 40.06 kB / 458.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.781, allocations: 67.94 kB / 458.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/0.7815, allocations: 101.2 kB / 458.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.7816, allocations: 39.98 kB / 458.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002599/0.7842, allocations: 1.315 MB / 459.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.7842, allocations: 0 / 459.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002886/0.7871, allocations: 0.582 MB / 460.3 MB, free: 9.82 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.7885, allocations: 468.7 kB / 460.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.7925, allocations: 2.167 MB / 462.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.7926, allocations: 4.062 kB / 463 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.7953, allocations: 1.569 MB / 464.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.7985, allocations: 0.5181 MB / 465 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.8138, allocations: 7.18 MB / 472.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.8167, allocations: 2.301 MB / 474.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008944/0.8176, allocations: 147.4 kB / 474.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.046e-06/0.8176, allocations: 0 / 474.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Templates: time 0.4489/1.266, allocations: 114 MB / 0.5749 GB, free: 124.9 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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