Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.02 kB / 16.95 MB, free: 5.953 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.001353/0.001353, allocations: 173.9 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.2 MB / 241.8 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 12.91 kB / 301.5 MB, free: 6.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 50.42 MB / 351.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.3599/0.509, allocations: 35.99 MB / 387.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03237/0.5414, allocations: 10.33 MB / 398.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01566/0.5571, allocations: 272.8 kB / 398.5 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.569, allocations: 1.737 MB / 400.2 MB, free: 272 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01947/0.5885, allocations: 2.928 MB / 403.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.5997, allocations: 1.441 MB / 404.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.038/0.6378, allocations: 13.33 MB / 417.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06722/0.705, allocations: 18.25 MB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.7174, allocations: 4.527 MB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01644/0.7339, allocations: 5.284 MB / 446 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004628/0.7386, allocations: 0.7109 MB / 446.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008528/0.7472, allocations: 1.093 MB / 447.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007387/0.7546, allocations: 2.262 MB / 450 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007922/0.7626, allocations: 2.367 MB / 452.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02816/0.7908, allocations: 20.09 MB / 472.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.7909, allocations: 3.938 kB / 472.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.7909, allocations: 0 / 472.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008739/0.7917, allocations: 0 / 472.5 MB, free: 13.11 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.03896/0.8307, allocations: 11.98 MB / 484.5 MB, free: 1.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.8308, allocations: 12.03 kB / 484.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0296/0.8604, allocations: 5.168 MB / 489.7 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02058/0.881, allocations: 7.311 MB / 497 MB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/0.8823, allocations: 0.8348 MB / 497.8 MB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005063/0.8874, allocations: 1.094 MB / 498.9 MB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05887/0.9463, allocations: 16.55 MB / 0.5034 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00083/0.9472, allocations: 11.91 kB / 0.5034 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005775/0.953, allocations: 460 kB / 0.5038 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008323/0.9538, allocations: 0.5812 MB / 0.5044 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/0.9961, allocations: 14.72 MB / 0.5188 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6672/1.663, allocations: 56.45 MB / 0.5739 GB, free: 78.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/1.68, allocations: 20.89 MB / 0.5943 GB, free: 58.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005439/1.685, allocations: 3.368 MB / 0.5976 GB, free: 56.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/1.701, allocations: 9.59 MB / 0.6069 GB, free: 47.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/1.701, allocations: 73.48 kB / 0.607 GB, free: 47.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=319): time 5.35e-06/1.701, allocations: 4 kB / 0.607 GB, free: 47.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=346): time 0.03766/1.739, allocations: 17.67 MB / 0.6243 GB, free: 29.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/1.739, allocations: 120.4 kB / 0.6244 GB, free: 29.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/1.751, allocations: 5.126 MB / 0.6294 GB, free: 24.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008146/1.752, allocations: 81.7 kB / 0.6295 GB, free: 24.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003435/1.755, allocations: 5.149 MB / 0.6345 GB, free: 19.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.757, allocations: 1.224 MB / 0.6357 GB, free: 18.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/1.758, allocations: 124 kB / 0.6358 GB, free: 18.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0006187/1.759, allocations: 0.5627 MB / 0.6364 GB, free: 17.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.765, allocations: 2.671 MB / 0.639 GB, free: 14.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006763/1.771, allocations: 5.479 MB / 0.6443 GB, free: 7.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005957/1.777, allocations: 3.845 MB / 0.6481 GB, free: 4.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.124e-05/1.777, allocations: 28 kB / 0.6481 GB, free: 4.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02077/1.798, allocations: 9.317 MB / 0.6572 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/1.798, allocations: 44 kB / 0.6573 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/1.799, allocations: 96 kB / 0.6573 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002813/1.802, allocations: 0.9374 MB / 0.6583 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005914/1.807, allocations: 1.486 MB / 0.6597 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.823, allocations: 9.771 MB / 0.6693 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/1.83, allocations: 411.2 kB / 0.6696 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.832, allocations: 340 kB / 0.67 GB, free: 13.23 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.01089/1.843, allocations: 3.747 MB / 0.6736 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/1.845, allocations: 0.5054 MB / 0.6741 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.86, allocations: 6.003 MB / 0.68 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005764/1.866, allocations: 3.131 MB / 0.683 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-05/1.866, allocations: 11.94 kB / 0.6831 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/1.866, allocations: 19.94 kB / 0.6831 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03858/1.905, allocations: 14.75 MB / 0.6975 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.905, allocations: 8.094 kB / 0.6975 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.908, allocations: 0.597 MB / 0.6981 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3645/2.272, allocations: 0.9078 MB / 0.699 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/2.274, allocations: 80.89 kB / 0.699 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/2.291, allocations: 12.88 MB / 0.7116 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/2.291, allocations: 10.06 kB / 0.7116 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/2.312, allocations: 8.686 MB / 0.7201 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004397/2.317, allocations: 1.022 MB / 0.7211 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/2.318, allocations: 69.47 kB / 0.7212 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/2.322, allocations: 213.3 kB / 0.7214 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009088/2.323, allocations: 255.9 kB / 0.7216 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/2.323, allocations: 100.3 kB / 0.7217 GB, free: 136.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0108/2.334, allocations: 3.394 MB / 0.725 GB, free: 135.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.725e-06/2.334, allocations: 0 / 0.725 GB, free: 135.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01293/2.347, allocations: 1.788 MB / 0.7268 GB, free: 135.1 MB / 478.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.001809/2.349, allocations: 277.7 kB / 0.727 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01699/2.366, allocations: 6.971 MB / 0.7338 GB, free: 132.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/2.366, allocations: 0 / 0.7338 GB, free: 132.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007871/2.374, allocations: 3.447 MB / 0.7372 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/2.385, allocations: 1.127 MB / 0.7383 GB, free: 130.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05521/2.44, allocations: 21.56 MB / 0.7594 GB, free: 113.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009697/2.45, allocations: 6.364 MB / 0.7656 GB, free: 108.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/2.452, allocations: 433.1 kB / 0.766 GB, free: 107.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/2.452, allocations: 0 / 0.766 GB, free: 107.9 MB / 478.1 MB Notification: Performance of Templates: time 1.146/3.599, allocations: 389.6 MB / 1.146 GB, free: 87.42 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1