Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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 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.FundamentalWave.Examples.BasicMachines.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.0008291, allocations: 82.83 kB / 17.58 MB, free: 5.758 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.0008177/0.0008178, allocations: 183.9 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004793/0.0004797, allocations: 16 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02278/0.1326, allocations: 21.23 MB / 350.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.1499, allocations: 6.688 MB / 356.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/0.1545, allocations: 131.4 kB / 357 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003622/0.1582, allocations: 1.165 MB / 358.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.1643, allocations: 1.891 MB / 360.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.1674, allocations: 0.9709 MB / 361.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00984/0.1772, allocations: 7.192 MB / 368.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007341/0.1846, allocations: 3.678 MB / 371.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/0.1894, allocations: 2.28 MB / 374.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007019/0.1965, allocations: 3.031 MB / 377.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002109/0.1986, allocations: 364 kB / 377.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/0.2029, allocations: 0.7221 MB / 378.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003185/0.2061, allocations: 1.503 MB / 379.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2471/0.4532, allocations: 1.272 MB / 381.1 MB, free: 19.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.4685, allocations: 9.244 MB / 390.3 MB, free: 17.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.4686, allocations: 6.938 kB / 390.3 MB, free: 17.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.4686, allocations: 1.094 kB / 390.4 MB, free: 17.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005229/0.4691, allocations: 0 / 390.4 MB, free: 17.98 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.02415/0.4933, allocations: 6.316 MB / 396.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4933, allocations: 8.875 kB / 396.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008553/0.5019, allocations: 1.227 MB / 397.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.5124, allocations: 3.584 MB / 401.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005827/0.513, allocations: 441.5 kB / 401.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.5155, allocations: 0.5548 MB / 402.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.5371, allocations: 7.27 MB / 409.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/0.5374, allocations: 9.828 kB / 409.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.5386, allocations: 234.7 kB / 410 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003256/0.5389, allocations: 266.5 kB / 410.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.5544, allocations: 6.131 MB / 416.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05141/0.6059, allocations: 23.93 MB / 440.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009876/0.6158, allocations: 8.747 MB / 449 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/0.6204, allocations: 2.407 MB / 451.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/0.6364, allocations: 7.035 MB / 458.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.258e-05/0.6365, allocations: 64.52 kB / 458.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=238): time 6.172e-06/0.6365, allocations: 0 / 458.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=282): time 0.03668/0.6732, allocations: 14.55 MB / 473.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.6733, allocations: 84.97 kB / 473.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008292/0.6816, allocations: 3.459 MB / 476.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005673/0.6822, allocations: 73.7 kB / 476.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.6846, allocations: 2.671 MB / 479.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.6859, allocations: 0.9674 MB / 480.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.6862, allocations: 72 kB / 480.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002675/0.6865, allocations: 457.8 kB / 480.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/0.6896, allocations: 1.584 MB / 482.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/0.6936, allocations: 2.786 MB / 485.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/0.6974, allocations: 2.043 MB / 487.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-05/0.6975, allocations: 8 kB / 487.3 MB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.0103/0.7078, allocations: 5.545 MB / 492.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.7079, allocations: 27.98 kB / 492.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.93e-05/0.708, allocations: 36 kB / 492.9 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.7097, allocations: 0.6963 MB / 493.6 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.713, allocations: 0.8778 MB / 494.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.7246, allocations: 9.597 MB / 0.4923 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/0.7292, allocations: 243.6 kB / 0.4925 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007798/0.73, allocations: 168 kB / 0.4927 GB, free: 3.238 MB / 398.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.00469/0.7347, allocations: 1.628 MB / 0.4942 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/0.7361, allocations: 395.3 kB / 0.4946 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008253/0.7444, allocations: 4.599 MB / 0.4991 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.7444, allocations: 32 kB / 0.4991 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.7445, allocations: 8 kB / 0.4991 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.7445, allocations: 15.95 kB / 0.4992 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/0.7632, allocations: 10.07 MB / 0.509 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.7632, allocations: 8 kB / 0.509 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.7653, allocations: 0.5157 MB / 0.5095 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.7672, allocations: 0.7536 MB / 0.5102 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.7674, allocations: 73.38 kB / 0.5103 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.7798, allocations: 13.02 MB / 0.523 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.7798, allocations: 11 kB / 0.523 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2667/1.047, allocations: 6.727 MB / 0.5296 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/1.05, allocations: 0.7892 MB / 0.5304 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009817/1.051, allocations: 61.89 kB / 0.5304 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.053, allocations: 193.3 kB / 0.5306 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/1.054, allocations: 204.9 kB / 0.5308 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/1.054, allocations: 87.77 kB / 0.5309 GB, free: 141.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005481/1.059, allocations: 2.322 MB / 0.5332 GB, free: 140.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.22e-07/1.059, allocations: 0 / 0.5332 GB, free: 140.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00641/1.066, allocations: 1.109 MB / 0.5343 GB, free: 140.7 MB / 430.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.strayReluctance.Phi.re,smeeM.stator.strayReluctance.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.0008728/1.067, allocations: 249.6 kB / 0.5345 GB, free: 140.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008355/1.075, allocations: 4.756 MB / 0.5391 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.075, allocations: 7.875 kB / 0.5392 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00478/1.08, allocations: 2.878 MB / 0.542 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006489/1.086, allocations: 0.8704 MB / 0.5428 GB, free: 136.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.11, allocations: 12.55 MB / 0.5551 GB, free: 129.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/1.114, allocations: 3.431 MB / 0.5584 GB, free: 127.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/1.115, allocations: 286.5 kB / 0.5587 GB, free: 127.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.743e-06/1.115, allocations: 0 / 0.5587 GB, free: 127.2 MB / 430.1 MB Notification: Performance of Templates: time 0.4931/1.609, allocations: 238.8 MB / 0.7919 GB, free: 44.17 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.o] Error 1