Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001165, allocations: 95.39 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.708/1.708, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002643, allocations: 4 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.3383/0.4694, allocations: 36.57 MB / 395.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03496/0.5045, allocations: 10.55 MB / 405.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.517, allocations: 276.2 kB / 406.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009419/0.5265, allocations: 1.749 MB / 408 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.5434, allocations: 2.927 MB / 410.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008137/0.5515, allocations: 1.454 MB / 412.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02604/0.5776, allocations: 13.47 MB / 425.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04328/0.6209, allocations: 18.23 MB / 444 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01381/0.6348, allocations: 4.547 MB / 448.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01378/0.6486, allocations: 5.284 MB / 453.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004704/0.6534, allocations: 0.7109 MB / 454.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008785/0.6622, allocations: 1.121 MB / 455.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006358/0.6686, allocations: 2.258 MB / 458 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008371/0.677, allocations: 2.379 MB / 460.3 MB, free: 7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03417/0.7112, allocations: 20.12 MB / 480.5 MB, free: 2.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.7112, allocations: 0 / 480.5 MB, free: 2.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.692e-06/0.7113, allocations: 4 kB / 480.5 MB, free: 2.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001135/0.7124, allocations: 0 / 480.5 MB, free: 2.816 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.0442/0.7566, allocations: 12.02 MB / 492.5 MB, free: 6.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.7567, allocations: 12.03 kB / 492.5 MB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03205/0.7888, allocations: 5.215 MB / 497.7 MB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/0.8118, allocations: 7.32 MB / 0.4932 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001375/0.8132, allocations: 0.8425 MB / 0.494 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005521/0.8187, allocations: 1.09 MB / 0.4951 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0557/0.8745, allocations: 16.54 MB / 0.5112 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007395/0.8752, allocations: 27.73 kB / 0.5113 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/0.8801, allocations: 456 kB / 0.5117 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007277/0.8808, allocations: 0.5812 MB / 0.5123 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04185/0.9227, allocations: 14.72 MB / 0.5266 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7041/1.627, allocations: 58.09 MB / 0.5834 GB, free: 92.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/1.644, allocations: 21.18 MB / 0.6041 GB, free: 72.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00618/1.65, allocations: 3.404 MB / 0.6074 GB, free: 70.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01953/1.67, allocations: 10.12 MB / 0.6173 GB, free: 61.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/1.67, allocations: 73.44 kB / 0.6173 GB, free: 61.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 5.661e-06/1.67, allocations: 0 / 0.6173 GB, free: 61.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=346): time 0.03326/1.703, allocations: 17.71 MB / 0.6346 GB, free: 43.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.703, allocations: 116.4 kB / 0.6347 GB, free: 43.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009328/1.713, allocations: 5.147 MB / 0.6398 GB, free: 38.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004862/1.713, allocations: 81.7 kB / 0.6398 GB, free: 38.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002667/1.716, allocations: 5.163 MB / 0.6449 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.717, allocations: 1.209 MB / 0.6461 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/1.717, allocations: 128 kB / 0.6462 GB, free: 31.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002623/1.717, allocations: 0.551 MB / 0.6467 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/1.721, allocations: 2.675 MB / 0.6493 GB, free: 28.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004667/1.726, allocations: 5.483 MB / 0.6547 GB, free: 21.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004608/1.73, allocations: 3.845 MB / 0.6584 GB, free: 17.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-05/1.73, allocations: 28 kB / 0.6585 GB, free: 17.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0139/1.744, allocations: 9.319 MB / 0.6676 GB, free: 8.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/1.745, allocations: 48.03 kB / 0.6676 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/1.745, allocations: 96 kB / 0.6677 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/1.747, allocations: 0.9374 MB / 0.6686 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005397/1.753, allocations: 1.486 MB / 0.6701 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.764, allocations: 9.767 MB / 0.6796 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007334/1.772, allocations: 419 kB / 0.68 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/1.774, allocations: 340 kB / 0.6803 GB, free: 10.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (770): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0102/1.784, allocations: 3.748 MB / 0.684 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/1.786, allocations: 0.5055 MB / 0.6845 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.799, allocations: 6.022 MB / 0.6904 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005558/1.805, allocations: 3.123 MB / 0.6934 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.391e-05/1.805, allocations: 8 kB / 0.6934 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-05/1.805, allocations: 19.94 kB / 0.6934 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03479/1.84, allocations: 14.75 MB / 0.7079 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/1.84, allocations: 4 kB / 0.7079 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002854/1.843, allocations: 0.6051 MB / 0.7085 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002645/1.845, allocations: 0.9058 MB / 0.7093 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005728/1.846, allocations: 87.97 kB / 0.7094 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3703/2.216, allocations: 12.88 MB / 0.722 GB, free: 158.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-05/2.216, allocations: 10.73 kB / 0.722 GB, free: 158.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02842/2.245, allocations: 8.692 MB / 0.7305 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00424/2.249, allocations: 1.021 MB / 0.7315 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001828/2.251, allocations: 67.97 kB / 0.7316 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/2.254, allocations: 207 kB / 0.7318 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007826/2.255, allocations: 255.3 kB / 0.732 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/2.255, allocations: 103 kB / 0.7321 GB, free: 156.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008799/2.264, allocations: 3.401 MB / 0.7354 GB, free: 155.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/2.264, allocations: 0 / 0.7354 GB, free: 155.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01089/2.275, allocations: 1.791 MB / 0.7372 GB, free: 155.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(3,77.8%) 4,(8,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/2.276, allocations: 265 kB / 0.7374 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0148/2.291, allocations: 6.988 MB / 0.7442 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.78e-05/2.291, allocations: 0 / 0.7442 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007554/2.299, allocations: 3.445 MB / 0.7476 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/2.31, allocations: 1.145 MB / 0.7487 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04374/2.354, allocations: 21.6 MB / 0.7698 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006754/2.361, allocations: 6.366 MB / 0.776 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/2.363, allocations: 430.3 kB / 0.7764 GB, free: 130.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/2.363, allocations: 0 / 0.7764 GB, free: 130.8 MB / 494.1 MB Notification: Performance of Templates: time 1.089/3.451, allocations: 390.1 MB / 1.157 GB, free: 115.8 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1