Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001219, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 196.6 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 11.98 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.3862/0.5408, allocations: 21.86 MB / 380.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02072/0.5616, allocations: 6.917 MB / 387.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008329/0.57, allocations: 135.8 kB / 387.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007501/0.5775, allocations: 1.186 MB / 388.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.5904, allocations: 1.884 MB / 390.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.5961, allocations: 0.9863 MB / 391.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01816/0.6143, allocations: 7.278 MB / 399.1 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009912/0.6242, allocations: 3.743 MB / 402.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008178/0.6325, allocations: 2.292 MB / 405.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00985/0.6424, allocations: 3.037 MB / 408.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003343/0.6458, allocations: 360 kB / 408.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007035/0.6528, allocations: 0.7299 MB / 409.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004188/0.6571, allocations: 1.506 MB / 410.7 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005316/0.6624, allocations: 1.276 MB / 412 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.68, allocations: 9.302 MB / 421.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.6801, allocations: 0 / 421.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.446e-06/0.6801, allocations: 0 / 421.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008139/0.6809, allocations: 3.938 kB / 421.3 MB, free: 14.51 MB / 334.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.02616/0.7071, allocations: 6.348 MB / 427.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.7072, allocations: 8.031 kB / 427.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009089/0.7163, allocations: 1.265 MB / 428.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.7323, allocations: 3.757 MB / 432.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/0.7334, allocations: 435.4 kB / 433.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003832/0.7373, allocations: 0.5584 MB / 433.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0312/0.7685, allocations: 7.268 MB / 440.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005774/0.7691, allocations: 11.92 kB / 440.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003083/0.7722, allocations: 236 kB / 441.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005053/0.7728, allocations: 259.3 kB / 441.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/0.7934, allocations: 6.15 MB / 447.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05938/0.8528, allocations: 24.02 MB / 471.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.8654, allocations: 9.017 MB / 480.6 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006487/0.872, allocations: 2.504 MB / 483.1 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/0.8937, allocations: 7.659 MB / 490.8 MB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.385e-05/0.8938, allocations: 56.56 kB / 490.8 MB, free: 6.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 6.091e-06/0.8938, allocations: 4 kB / 490.8 MB, free: 6.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=282): time 0.04697/0.9408, allocations: 14.63 MB / 0.4936 GB, free: 7.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.9409, allocations: 85.53 kB / 0.4937 GB, free: 7.785 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008971/0.9499, allocations: 3.476 MB / 0.4971 GB, free: 4.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006351/0.9506, allocations: 69.7 kB / 0.4972 GB, free: 4.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002933/0.9535, allocations: 2.694 MB / 0.4998 GB, free: 1.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/0.9553, allocations: 0.9666 MB / 0.5007 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.9559, allocations: 72 kB / 0.5008 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004026/0.9564, allocations: 453.8 kB / 0.5012 GB, free: 24 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/0.9601, allocations: 1.581 MB / 0.5028 GB, free: 14.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.965, allocations: 2.782 MB / 0.5055 GB, free: 11.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004551/0.9695, allocations: 2.039 MB / 0.5075 GB, free: 9.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.985e-05/0.9696, allocations: 12 kB / 0.5075 GB, free: 9.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01456/0.9842, allocations: 5.572 MB / 0.5129 GB, free: 3.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/0.9843, allocations: 20.62 kB / 0.513 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.9845, allocations: 36 kB / 0.513 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.9869, allocations: 0.7153 MB / 0.5137 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/0.9907, allocations: 0.8697 MB / 0.5145 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.003, allocations: 9.736 MB / 0.5241 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004672/1.008, allocations: 243.7 kB / 0.5243 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000939/1.009, allocations: 172 kB / 0.5245 GB, free: 7.035 MB / 446.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 (426): * Single equations (assignments): 416 * 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%) 6,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00586/1.015, allocations: 1.617 MB / 0.526 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.017, allocations: 391.3 kB / 0.5264 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.03, allocations: 4.616 MB / 0.5309 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-05/1.03, allocations: 32 kB / 0.5309 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-05/1.03, allocations: 15.95 kB / 0.531 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/1.03, allocations: 11.95 kB / 0.531 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3188/1.349, allocations: 10.09 MB / 0.5408 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/1.349, allocations: 10.81 kB / 0.5408 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.351, allocations: 0.5064 MB / 0.5413 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/1.353, allocations: 0.7696 MB / 0.5421 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.353, allocations: 69.58 kB / 0.5421 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.366, allocations: 13.18 MB / 0.555 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.366, allocations: 13.83 kB / 0.555 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.376, allocations: 6.76 MB / 0.5616 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.379, allocations: 0.7869 MB / 0.5624 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005668/1.379, allocations: 59.91 kB / 0.5625 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.381, allocations: 194.8 kB / 0.5626 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/1.381, allocations: 210.4 kB / 0.5628 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.382, allocations: 86.38 kB / 0.5629 GB, free: 119.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004021/1.386, allocations: 2.343 MB / 0.5652 GB, free: 118.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.386, allocations: 3.844 kB / 0.5652 GB, free: 118.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004405/1.39, allocations: 1.116 MB / 0.5663 GB, free: 118.4 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 (235): * Single equations (assignments): 225 * 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%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006807/1.391, allocations: 253.5 kB / 0.5665 GB, free: 118.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007931/1.399, allocations: 4.781 MB / 0.5712 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.399, allocations: 6.406 kB / 0.5712 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004612/1.403, allocations: 2.891 MB / 0.574 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005335/1.409, allocations: 0.8881 MB / 0.5749 GB, free: 114.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/1.428, allocations: 12.56 MB / 0.5872 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/1.431, allocations: 3.436 MB / 0.5905 GB, free: 98.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.433, allocations: 287.4 kB / 0.5908 GB, free: 98.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/1.433, allocations: 3.938 kB / 0.5908 GB, free: 98.34 MB / 446.1 MB Notification: Performance of Templates: time 0.5034/1.936, allocations: 239.7 MB / 0.8249 GB, free: 38.58 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1