Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|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_4.0.0_Modelica.Magnetic.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.0008127/0.0008127, allocations: 91.38 kB / 16.95 MB, free: 5.555 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.0007835/0.0007836, allocations: 191.6 kB / 17.85 MB, free: 5.227 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.546/1.546, allocations: 223.3 MB / 241.9 MB, free: 14.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 301.5 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 50.41 MB / 351.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.3179/0.4564, allocations: 21.29 MB / 373.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.4746, allocations: 6.691 MB / 379.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008184/0.4828, allocations: 132.2 kB / 380 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006043/0.4889, allocations: 1.176 MB / 381.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.5005, allocations: 1.895 MB / 383.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006517/0.507, allocations: 0.9644 MB / 384 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02012/0.5272, allocations: 7.179 MB / 391.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.5389, allocations: 3.745 MB / 395 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008617/0.5475, allocations: 2.276 MB / 397.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008742/0.5563, allocations: 3.017 MB / 400.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003312/0.5597, allocations: 363.3 kB / 400.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006088/0.5658, allocations: 0.7135 MB / 401.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003892/0.5697, allocations: 1.501 MB / 402.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005499/0.5753, allocations: 1.272 MB / 404.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.5936, allocations: 9.275 MB / 413.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.5936, allocations: 4 kB / 413.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.5937, allocations: 0 / 413.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000567/0.5942, allocations: 0 / 413.4 MB, free: 7.789 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.0214/0.6157, allocations: 6.321 MB / 419.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6157, allocations: 8.031 kB / 419.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008592/0.6243, allocations: 1.235 MB / 420.9 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.6371, allocations: 3.72 MB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000725/0.6378, allocations: 446.4 kB / 425.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/0.6404, allocations: 0.561 MB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.6642, allocations: 7.27 MB / 432.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.6644, allocations: 11.89 kB / 432.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000779/0.6652, allocations: 230.7 kB / 433.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003466/0.6656, allocations: 263.2 kB / 433.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.6815, allocations: 6.155 MB / 439.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05648/0.738, allocations: 23.92 MB / 463.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.749, allocations: 8.741 MB / 472.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/0.7542, allocations: 2.413 MB / 474.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01791/0.7722, allocations: 7.048 MB / 481.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/0.7723, allocations: 56.56 kB / 481.7 MB, free: 1.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 6.082e-06/0.7723, allocations: 0 / 481.7 MB, free: 1.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=282): time 0.04387/0.8162, allocations: 14.51 MB / 496.3 MB, free: 3.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.8163, allocations: 85.59 kB / 496.3 MB, free: 3.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/0.8265, allocations: 3.455 MB / 499.8 MB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006731/0.8272, allocations: 73.7 kB / 499.9 MB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002932/0.8302, allocations: 2.686 MB / 0.4908 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.8318, allocations: 0.9568 MB / 0.4917 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/0.8324, allocations: 75.39 kB / 0.4918 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004306/0.8328, allocations: 453.8 kB / 0.4922 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/0.8366, allocations: 1.584 MB / 0.4938 GB, free: 9.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00503/0.8416, allocations: 2.782 MB / 0.4965 GB, free: 6.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/0.846, allocations: 2.043 MB / 0.4985 GB, free: 4.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.993e-05/0.8461, allocations: 12 kB / 0.4985 GB, free: 4.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.0129/0.859, allocations: 5.557 MB / 0.5039 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.8591, allocations: 26.97 kB / 0.5039 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.295e-05/0.8592, allocations: 36 kB / 0.504 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.8611, allocations: 0.6886 MB / 0.5046 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/0.865, allocations: 0.8697 MB / 0.5055 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.8775, allocations: 9.604 MB / 0.5149 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/0.882, allocations: 243.7 kB / 0.5151 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008521/0.8829, allocations: 164 kB / 0.5153 GB, free: 2.547 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (429): * Single equations (assignments): 419 * Array equations: 4 * 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 {(3,100.0%) 12,(1,100.0%) 3,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005041/0.8879, allocations: 1.617 MB / 0.5168 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/0.8896, allocations: 387.3 kB / 0.5172 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.9005, allocations: 4.61 MB / 0.5217 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.9006, allocations: 32 kB / 0.5217 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.9006, allocations: 8 kB / 0.5218 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/0.9006, allocations: 19.95 kB / 0.5218 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/0.9231, allocations: 10.06 MB / 0.5316 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.9232, allocations: 4 kB / 0.5316 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.9255, allocations: 0.5117 MB / 0.5321 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.9277, allocations: 0.7503 MB / 0.5328 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.928, allocations: 71.97 kB / 0.5329 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.293/1.221, allocations: 13.02 MB / 0.5456 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/1.221, allocations: 9.469 kB / 0.5456 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.237, allocations: 6.731 MB / 0.5522 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003034/1.24, allocations: 0.7891 MB / 0.553 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/1.242, allocations: 64.83 kB / 0.553 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/1.245, allocations: 185.5 kB / 0.5532 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000836/1.246, allocations: 211.3 kB / 0.5534 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003878/1.247, allocations: 88.8 kB / 0.5535 GB, free: 127.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006825/1.253, allocations: 2.325 MB / 0.5558 GB, free: 126.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.253, allocations: 3.094 kB / 0.5558 GB, free: 126.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006818/1.26, allocations: 1.107 MB / 0.5569 GB, free: 126.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (238): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(3,100.0%) 12,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/1.261, allocations: 247.5 kB / 0.5571 GB, free: 126.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009169/1.271, allocations: 4.768 MB / 0.5617 GB, free: 124.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.271, allocations: 3.969 kB / 0.5617 GB, free: 124.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005027/1.276, allocations: 2.874 MB / 0.5646 GB, free: 123 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007223/1.283, allocations: 0.877 MB / 0.5654 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/1.314, allocations: 12.55 MB / 0.5777 GB, free: 115.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006682/1.321, allocations: 3.422 MB / 0.581 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.323, allocations: 287.7 kB / 0.5813 GB, free: 113.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/1.323, allocations: 0 / 0.5813 GB, free: 113.7 MB / 446.1 MB Notification: Performance of Templates: time 0.4949/1.818, allocations: 238.8 MB / 0.8145 GB, free: 58.79 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1