Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 92.2 kB / 17.63 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 194.5 kB / 18.53 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002376, allocations: 4 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.3149/0.4441, allocations: 27.02 MB / 385.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02276/0.4669, allocations: 7.977 MB / 393.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009333/0.4763, allocations: 183.3 kB / 394 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006945/0.4833, allocations: 1.417 MB / 395.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.4955, allocations: 2.193 MB / 397.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005798/0.5013, allocations: 1.181 MB / 398.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01993/0.5212, allocations: 10.23 MB / 409 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01484/0.5361, allocations: 6.247 MB / 415.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009005/0.5452, allocations: 3.253 MB / 418.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.5555, allocations: 4.221 MB / 422.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003831/0.5593, allocations: 0.5391 MB / 423.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008006/0.5673, allocations: 0.8628 MB / 424.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005023/0.5724, allocations: 2.012 MB / 426.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006353/0.5788, allocations: 1.896 MB / 428 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02308/0.6019, allocations: 14.43 MB / 442.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6019, allocations: 0 / 442.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6019, allocations: 0 / 442.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007176/0.6027, allocations: 4 kB / 442.5 MB, free: 9.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03204/0.6347, allocations: 9.366 MB / 451.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.6348, allocations: 19.97 kB / 451.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.6489, allocations: 2.171 MB / 454 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.6666, allocations: 5.631 MB / 459.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.6677, allocations: 0.6499 MB / 460.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/0.672, allocations: 0.8436 MB / 461.2 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/0.7135, allocations: 11.42 MB / 472.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005366/0.714, allocations: 7.984 kB / 472.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003405/0.7175, allocations: 356 kB / 472.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005536/0.718, allocations: 373.5 kB / 473.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02987/0.7479, allocations: 9.7 MB / 483 MB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09765/0.8456, allocations: 36.22 MB / 0.5071 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0243/0.87, allocations: 18.13 MB / 0.5248 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01131/0.8813, allocations: 4.207 MB / 0.5289 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.659/1.54, allocations: 11.77 MB / 0.5404 GB, free: 129.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.368e-05/1.54, allocations: 72.86 kB / 0.5404 GB, free: 129.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=310): time 5.751e-06/1.54, allocations: 0.75 kB / 0.5404 GB, free: 129.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=362): time 0.04974/1.59, allocations: 16.44 MB / 0.5565 GB, free: 122.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/1.59, allocations: 89.7 kB / 0.5566 GB, free: 122.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009163/1.6, allocations: 4.509 MB / 0.561 GB, free: 120.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009502/1.601, allocations: 82.89 kB / 0.5611 GB, free: 120.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003856/1.604, allocations: 3.892 MB / 0.5649 GB, free: 117.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002147/1.607, allocations: 1.232 MB / 0.5661 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.607, allocations: 91.69 kB / 0.5661 GB, free: 116.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002865/1.607, allocations: 490.6 kB / 0.5666 GB, free: 116.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/1.611, allocations: 2.002 MB / 0.5686 GB, free: 115.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004633/1.615, allocations: 3.46 MB / 0.5719 GB, free: 112.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/1.619, allocations: 2.577 MB / 0.5745 GB, free: 111.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/1.619, allocations: 15.47 kB / 0.5745 GB, free: 111.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01106/1.631, allocations: 6.933 MB / 0.5813 GB, free: 106.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/1.631, allocations: 27.75 kB / 0.5813 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.831e-05/1.631, allocations: 48 kB / 0.5813 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/1.633, allocations: 0.9244 MB / 0.5822 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/1.636, allocations: 1.061 MB / 0.5833 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.647, allocations: 11.59 MB / 0.5946 GB, free: 91.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/1.652, allocations: 267.7 kB / 0.5948 GB, free: 91.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/1.653, allocations: 207.1 kB / 0.595 GB, free: 91.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (529): * Single equations (assignments): 521 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 8,(2,100.0%) 13,(3,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0054/1.658, allocations: 2.541 MB / 0.5975 GB, free: 88.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.66, allocations: 490 kB / 0.598 GB, free: 88.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/1.669, allocations: 5.873 MB / 0.6037 GB, free: 82.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/1.669, allocations: 43.38 kB / 0.6038 GB, free: 82.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/1.669, allocations: 12.94 kB / 0.6038 GB, free: 82.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/1.669, allocations: 15.94 kB / 0.6038 GB, free: 82.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/1.692, allocations: 13.52 MB / 0.617 GB, free: 68.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.692, allocations: 4 kB / 0.617 GB, free: 68.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/1.694, allocations: 0.6208 MB / 0.6176 GB, free: 68.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/1.697, allocations: 1.093 MB / 0.6187 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003256/1.697, allocations: 87.97 kB / 0.6188 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/1.712, allocations: 15.39 MB / 0.6338 GB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.712, allocations: 11.92 kB / 0.6338 GB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/1.726, allocations: 8.543 MB / 0.6421 GB, free: 42.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/1.729, allocations: 1.003 MB / 0.6431 GB, free: 41.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/1.731, allocations: 72 kB / 0.6432 GB, free: 40.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00354/1.735, allocations: 207.8 kB / 0.6434 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007093/1.735, allocations: 282.2 kB / 0.6436 GB, free: 40.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.736, allocations: 108 kB / 0.6437 GB, free: 40.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006172/1.742, allocations: 3.045 MB / 0.6467 GB, free: 37.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.01e-07/1.742, allocations: 0 / 0.6467 GB, free: 37.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01033/1.752, allocations: 1.494 MB / 0.6482 GB, free: 35.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.Phi.im) * 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 (281): * Single equations (assignments): 274 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/1.753, allocations: 266.9 kB / 0.6484 GB, free: 35.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009647/1.763, allocations: 5.872 MB / 0.6542 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.763, allocations: 4 kB / 0.6542 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.769, allocations: 3.518 MB / 0.6576 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007328/1.776, allocations: 1.138 MB / 0.6587 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/1.807, allocations: 18.04 MB / 0.6763 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004575/1.811, allocations: 4.964 MB / 0.6812 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.813, allocations: 363.4 kB / 0.6815 GB, free: 1.414 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/1.813, allocations: 3.938 kB / 0.6815 GB, free: 1.41 MB / 446.1 MB Notification: Performance of Templates: time 1.049/2.862, allocations: 340.6 MB / 1.014 GB, free: 77.48 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_PolyphaseCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_PolyphaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_PolyphaseCalcHelperMain.o] Error 1