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.0009521/0.000952, allocations: 98.08 kB / 17.96 MB, free: 5.77 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.0013/0.0013, allocations: 178 kB / 18.86 MB, free: 4.906 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.4 MB / 225 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.0005609/0.0005615, allocations: 19.94 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1378, allocations: 47.57 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.016/0.1539, allocations: 12.58 MB / 342.2 MB, free: 7.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1654, allocations: 4.64 MB / 346.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.1689, allocations: 67.69 kB / 346.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.1736, allocations: 0.9642 MB / 347.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006962/0.1806, allocations: 1.22 MB / 349.1 MB, free: 208 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.1846, allocations: 0.8967 MB / 350 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009719/0.1943, allocations: 4.331 MB / 354.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005927/0.2003, allocations: 2.643 MB / 357 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.2039, allocations: 1.334 MB / 358.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.2081, allocations: 1.746 MB / 360 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.2094, allocations: 208 kB / 360.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.2123, allocations: 463.7 kB / 360.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.2141, allocations: 0.786 MB / 361.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004756/0.2189, allocations: 1.778 MB / 363.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007926/0.2269, allocations: 5.543 MB / 368.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2269, allocations: 3.938 kB / 368.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2269, allocations: 0 / 368.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.2272, allocations: 0 / 368.8 MB, free: 12.35 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.01207/0.2392, allocations: 3.794 MB / 372.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.2393, allocations: 8.031 kB / 372.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/0.2444, allocations: 0.8202 MB / 373.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/0.2498, allocations: 2.26 MB / 375.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.2501, allocations: 250.3 kB / 375.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.2512, allocations: 319.9 kB / 376.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008896/0.2601, allocations: 4.288 MB / 380.5 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.2602, allocations: 0 / 380.5 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/0.2605, allocations: 128 kB / 380.7 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.2607, allocations: 154.4 kB / 380.8 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3201/0.5808, allocations: 3.62 MB / 384.4 MB, free: 31.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0302/0.6111, allocations: 13.48 MB / 397.9 MB, free: 26.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007044/0.6182, allocations: 6.961 MB / 404.9 MB, free: 20.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.6206, allocations: 1.394 MB / 406.3 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006982/0.6276, allocations: 3.844 MB / 410.1 MB, free: 16.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.629, allocations: 0.856 MB / 411 MB, free: 16.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.516e-06/0.629, allocations: 0 / 411 MB, free: 16.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01271/0.6417, allocations: 6.525 MB / 417.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6419, allocations: 218.9 kB / 417.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.6448, allocations: 1.918 MB / 419.6 MB, free: 9.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.6449, allocations: 53.7 kB / 419.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.6464, allocations: 1.472 MB / 421.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.6468, allocations: 490 kB / 421.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.647, allocations: 137.6 kB / 421.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.6471, allocations: 305.1 kB / 422.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009836/0.6481, allocations: 0.6598 MB / 422.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.6495, allocations: 1.221 MB / 423.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.6519, allocations: 1.942 MB / 425.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.6519, allocations: 8 kB / 425.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003833/0.6558, allocations: 2.433 MB / 428.3 MB, free: 268 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.6558, allocations: 12 kB / 428.3 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.6558, allocations: 16 kB / 428.3 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/0.6566, allocations: 291.6 kB / 428.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.6581, allocations: 376.6 kB / 429 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007336/0.6655, allocations: 5.857 MB / 434.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.6676, allocations: 98.59 kB / 435 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.6678, allocations: 75.98 kB / 435 MB, free: 9.203 MB / 334.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.003072/0.6709, allocations: 1.028 MB / 436.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/0.6718, allocations: 199.3 kB / 436.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/0.677, allocations: 2.265 MB / 438.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.677, allocations: 12 kB / 438.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-05/0.6771, allocations: 8 kB / 438.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.6771, allocations: 7.969 kB / 438.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.6901, allocations: 5.109 MB / 443.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.6902, allocations: 4.172 kB / 443.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.691, allocations: 181.6 kB / 443.8 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.6925, allocations: 463.1 kB / 444.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.6927, allocations: 46.55 kB / 444.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.7068, allocations: 10.19 MB / 454.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7069, allocations: 4.094 kB / 454.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006786/0.7137, allocations: 3.136 MB / 457.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/0.7155, allocations: 438.5 kB / 458.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009038/0.7164, allocations: 31.94 kB / 458.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.718, allocations: 67.95 kB / 458.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/0.7185, allocations: 108.5 kB / 458.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.7186, allocations: 35.98 kB / 458.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003581/0.7222, allocations: 1.315 MB / 459.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7222, allocations: 0 / 459.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003561/0.7258, allocations: 0.5844 MB / 460.2 MB, free: 15.26 MB / 366.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.001512/0.7273, allocations: 479.6 kB / 460.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00455/0.7319, allocations: 2.17 MB / 462.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.7319, allocations: 6.297 kB / 462.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00317/0.7351, allocations: 1.574 MB / 464.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004631/0.7397, allocations: 0.5057 MB / 465 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.7563, allocations: 7.349 MB / 472.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004024/0.7604, allocations: 2.298 MB / 474.6 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009665/0.7614, allocations: 147.4 kB / 474.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of SimCode: time 1.814e-06/0.7614, allocations: 7.562 kB / 474.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of Templates: time 0.4698/1.231, allocations: 113.5 MB / 0.5745 GB, free: 115 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