Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.001729/0.001729, 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.001699/0.0017, 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 1.982/1.982, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001264/0.001264, allocations: 39.94 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 46.63 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0415/0.1879, allocations: 33.49 MB / 360.8 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0309/0.2189, allocations: 9.466 MB / 370.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0136/0.2325, allocations: 199.2 kB / 370.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0227/0.2553, allocations: 7.65 MB / 378.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3703/0.6257, allocations: 3.463 MB / 381.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.6377, allocations: 2.142 MB / 383.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03573/0.6734, allocations: 13.68 MB / 397.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03959/0.7131, allocations: 18.32 MB / 415.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0226/0.7357, allocations: 6.097 MB / 421.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01955/0.7554, allocations: 6.992 MB / 428.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007939/0.7634, allocations: 1.168 MB / 429.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/0.7773, allocations: 1.563 MB / 431.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009809/0.7871, allocations: 3.088 MB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0241/0.8113, allocations: 6.493 MB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03591/0.8473, allocations: 21.92 MB / 463 MB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.8474, allocations: 0 / 463 MB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.648e-06/0.8474, allocations: 4 kB / 463 MB, free: 7.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001031/0.8484, allocations: 1.781 kB / 463 MB, free: 7.195 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.06901/0.9174, allocations: 15.04 MB / 478 MB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.9175, allocations: 12.03 kB / 478.1 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04734/0.9649, allocations: 7.697 MB / 485.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02225/0.9872, allocations: 7.325 MB / 493.1 MB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001441/0.9887, allocations: 0.8233 MB / 493.9 MB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007208/0.9959, allocations: 1.094 MB / 495 MB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06695/1.063, allocations: 17.88 MB / 0.5009 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007836/1.064, allocations: 19.73 kB / 0.5009 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006164/1.07, allocations: 464.5 kB / 0.5013 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/1.071, allocations: 0.6675 MB / 0.502 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05059/1.122, allocations: 17.05 MB / 0.5186 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6307/1.752, allocations: 56.81 MB / 0.5741 GB, free: 114.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/1.783, allocations: 42.43 MB / 0.6155 GB, free: 73.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009238/1.793, allocations: 4.609 MB / 0.62 GB, free: 71.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03255/1.825, allocations: 13.2 MB / 0.6329 GB, free: 62.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005546/1.831, allocations: 3.1 MB / 0.6359 GB, free: 60.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 7.504e-06/1.831, allocations: 0 / 0.6359 GB, free: 60.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04945/1.88, allocations: 23.47 MB / 0.6589 GB, free: 38.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.881, allocations: 415.4 kB / 0.6593 GB, free: 37.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006685/1.887, allocations: 4.721 MB / 0.6639 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.888, allocations: 101.7 kB / 0.664 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004667/1.893, allocations: 4.889 MB / 0.6687 GB, free: 27.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002133/1.895, allocations: 1.553 MB / 0.6703 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/1.897, allocations: 1.196 MB / 0.6714 GB, free: 25.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/1.897, allocations: 305.1 kB / 0.6717 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/1.901, allocations: 2.89 MB / 0.6745 GB, free: 21.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/1.906, allocations: 5.305 MB / 0.6797 GB, free: 15.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.917, allocations: 8.683 MB / 0.6882 GB, free: 5.867 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.2e-05/1.917, allocations: 20 kB / 0.6882 GB, free: 5.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01864/1.936, allocations: 9.896 MB / 0.6979 GB, free: 11.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/1.936, allocations: 36 kB / 0.6979 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/1.936, allocations: 72 kB / 0.698 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004408/1.94, allocations: 1.501 MB / 0.6995 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006422/1.947, allocations: 1.404 MB / 0.7008 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3456/2.292, allocations: 16.33 MB / 0.7168 GB, free: 141.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/2.299, allocations: 363 kB / 0.7171 GB, free: 141.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/2.301, allocations: 303.7 kB / 0.7174 GB, free: 141.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01357/2.314, allocations: 3.967 MB / 0.7213 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/2.317, allocations: 0.5083 MB / 0.7218 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/2.334, allocations: 7.966 MB / 0.7296 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/2.334, allocations: 45.94 kB / 0.7296 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-05/2.334, allocations: 15.94 kB / 0.7296 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.611e-05/2.334, allocations: 29.17 kB / 0.7296 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/2.368, allocations: 17.54 MB / 0.7468 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/2.368, allocations: 4.438 kB / 0.7468 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00351/2.371, allocations: 0.7549 MB / 0.7475 GB, free: 129.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004177/2.375, allocations: 1.567 MB / 0.749 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/2.376, allocations: 117.8 kB / 0.7492 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/2.396, allocations: 19.55 MB / 0.7682 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/2.396, allocations: 10.59 kB / 0.7683 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/2.414, allocations: 11.48 MB / 0.7795 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004034/2.418, allocations: 1.15 MB / 0.7806 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/2.42, allocations: 103 kB / 0.7807 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00466/2.425, allocations: 235.1 kB / 0.7809 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/2.426, allocations: 334.9 kB / 0.7812 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006784/2.427, allocations: 136 kB / 0.7814 GB, free: 102.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.009024/2.436, allocations: 3.205 MB / 0.7845 GB, free: 99.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.8e-07/2.436, allocations: 0 / 0.7845 GB, free: 99.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01147/2.448, allocations: 1.917 MB / 0.7864 GB, free: 97.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (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.00258/2.45, allocations: 0.576 MB / 0.7869 GB, free: 96.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01574/2.466, allocations: 8.214 MB / 0.795 GB, free: 88.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/2.466, allocations: 5.875 kB / 0.795 GB, free: 88.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008927/2.475, allocations: 4.664 MB / 0.7995 GB, free: 83.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/2.487, allocations: 1.268 MB / 0.8008 GB, free: 82.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05687/2.544, allocations: 24.43 MB / 0.8246 GB, free: 57.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01549/2.559, allocations: 6.71 MB / 0.8312 GB, free: 51.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003653/2.563, allocations: 459.3 kB / 0.8316 GB, free: 50.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/2.563, allocations: 0 / 0.8316 GB, free: 50.71 MB / 462.1 MB Notification: Performance of Templates: time 1.618/4.181, allocations: 0.5212 GB / 1.353 GB, free: 64.07 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1