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.0009802/0.0009801, allocations: 98.39 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.001505/0.001505, allocations: 177.3 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.068/2.068, 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.0005605/0.0005606, allocations: 20.52 kB / 282.1 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1443, allocations: 47.58 MB / 329.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03618/0.1805, allocations: 32.16 MB / 361.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.2085, allocations: 9.372 MB / 371.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01054/0.2191, allocations: 203.2 kB / 371.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.2293, allocations: 2.252 MB / 373.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01797/0.2473, allocations: 3.461 MB / 377.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.2575, allocations: 2.02 MB / 379.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3399/0.5974, allocations: 13.67 MB / 392.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04032/0.6377, allocations: 21.58 MB / 414.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.649, allocations: 4.747 MB / 419.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.6645, allocations: 6.067 MB / 425.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005068/0.6696, allocations: 0.7383 MB / 425.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008073/0.6777, allocations: 1.136 MB / 427 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005283/0.6831, allocations: 2.484 MB / 429.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01588/0.699, allocations: 5.797 MB / 435.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0314/0.7304, allocations: 21.29 MB / 456.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7305, allocations: 0 / 456.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7305, allocations: 0 / 456.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009672/0.7315, allocations: 0 / 456.6 MB, free: 15.98 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.04589/0.7774, allocations: 12.6 MB / 469.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.7774, allocations: 15.97 kB / 469.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04463/0.8221, allocations: 7.734 MB / 477 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02207/0.8442, allocations: 7.35 MB / 484.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/0.8456, allocations: 0.8275 MB / 485.1 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006636/0.8523, allocations: 1.087 MB / 486.2 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06516/0.9174, allocations: 17.88 MB / 0.4923 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007148/0.9182, allocations: 15.81 kB / 0.4923 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00483/0.923, allocations: 457 kB / 0.4927 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009121/0.924, allocations: 0.6714 MB / 0.4934 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04488/0.9689, allocations: 17.06 MB / 0.5101 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6678/1.637, allocations: 56.96 MB / 0.5657 GB, free: 113.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03341/1.67, allocations: 42.42 MB / 0.6071 GB, free: 76.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009281/1.679, allocations: 4.625 MB / 0.6116 GB, free: 74.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03329/1.713, allocations: 13.21 MB / 0.6245 GB, free: 66.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007041/1.72, allocations: 3.098 MB / 0.6275 GB, free: 64.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 1.573e-05/1.72, allocations: 4 kB / 0.6276 GB, free: 64.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.05938/1.779, allocations: 23.55 MB / 0.6505 GB, free: 47.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/1.78, allocations: 415.4 kB / 0.6509 GB, free: 47.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009999/1.79, allocations: 4.721 MB / 0.6556 GB, free: 42.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.791, allocations: 105.7 kB / 0.6557 GB, free: 42.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00464/1.795, allocations: 4.887 MB / 0.6604 GB, free: 37.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002108/1.798, allocations: 1.552 MB / 0.6619 GB, free: 35.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007872/1.798, allocations: 0.4937 MB / 0.6624 GB, free: 35.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/1.798, allocations: 309.1 kB / 0.6627 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/1.802, allocations: 2.894 MB / 0.6655 GB, free: 32.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/1.808, allocations: 5.313 MB / 0.6707 GB, free: 25.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.819, allocations: 8.687 MB / 0.6792 GB, free: 15.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.834e-05/1.819, allocations: 24 kB / 0.6792 GB, free: 15.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01829/1.837, allocations: 9.899 MB / 0.6889 GB, free: 5.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/1.837, allocations: 36 kB / 0.6889 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.837, allocations: 76 kB / 0.689 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/1.841, allocations: 1.493 MB / 0.6905 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00544/1.847, allocations: 1.416 MB / 0.6919 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/1.87, allocations: 16.34 MB / 0.7078 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/1.876, allocations: 375.6 kB / 0.7082 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/1.878, allocations: 308 kB / 0.7085 GB, free: 1.277 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.3186/2.197, allocations: 3.963 MB / 0.7123 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00187/2.199, allocations: 0.509 MB / 0.7128 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/2.217, allocations: 7.967 MB / 0.7206 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/2.217, allocations: 45.69 kB / 0.7207 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.589e-05/2.217, allocations: 17.23 kB / 0.7207 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001047/2.217, allocations: 24.98 kB / 0.7207 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03604/2.253, allocations: 17.55 MB / 0.7378 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/2.253, allocations: 5.938 kB / 0.7378 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/2.256, allocations: 0.7628 MB / 0.7386 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00461/2.261, allocations: 1.556 MB / 0.7401 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000821/2.262, allocations: 115.6 kB / 0.7402 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/2.283, allocations: 19.57 MB / 0.7593 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.283, allocations: 7 kB / 0.7593 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/2.309, allocations: 11.5 MB / 0.7706 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005222/2.314, allocations: 1.17 MB / 0.7717 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002969/2.317, allocations: 99.94 kB / 0.7718 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005548/2.322, allocations: 239.5 kB / 0.772 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/2.324, allocations: 338.6 kB / 0.7723 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009494/2.325, allocations: 136 kB / 0.7725 GB, free: 111.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008825/2.334, allocations: 3.197 MB / 0.7756 GB, free: 108.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.393e-06/2.334, allocations: 2 kB / 0.7756 GB, free: 108.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0141/2.348, allocations: 1.917 MB / 0.7775 GB, free: 106.8 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.002843/2.351, allocations: 0.5706 MB / 0.778 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01717/2.368, allocations: 8.222 MB / 0.7861 GB, free: 98.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/2.369, allocations: 4 kB / 0.7861 GB, free: 98.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01001/2.379, allocations: 4.681 MB / 0.7906 GB, free: 93.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01326/2.392, allocations: 1.272 MB / 0.7919 GB, free: 92.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05748/2.449, allocations: 24.65 MB / 0.8159 GB, free: 67.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01512/2.465, allocations: 6.706 MB / 0.8225 GB, free: 60.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/2.468, allocations: 455.3 kB / 0.8229 GB, free: 60.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.234e-06/2.468, allocations: 0 / 0.8229 GB, free: 60.18 MB / 462.1 MB Notification: Performance of Templates: time 1.605/4.073, allocations: 0.5197 GB / 1.343 GB, free: 74.54 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