Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009678/0.0009679, allocations: 92.78 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.001371, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.663/1.663, allocations: 227.3 MB / 246.6 MB, free: 10.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 8 kB / 307.3 MB, free: 1.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 51.49 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01114/0.1605, allocations: 8.069 MB / 366.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007187/0.1677, allocations: 2.985 MB / 369.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.1696, allocations: 39.81 kB / 369.9 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.1715, allocations: 0.5476 MB / 370.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.1747, allocations: 0.5943 MB / 371 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1757, allocations: 211.6 kB / 371.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3103/0.4861, allocations: 2.187 MB / 373.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.4882, allocations: 0.9713 MB / 374.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4904, allocations: 0.725 MB / 375.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.4926, allocations: 0.9652 MB / 376.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.4929, allocations: 103.1 kB / 376.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.4936, allocations: 177.6 kB / 376.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008675/0.4945, allocations: 0.5299 MB / 376.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005868/0.4951, allocations: 401.3 kB / 377.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.4991, allocations: 2.514 MB / 379.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4992, allocations: 0 / 379.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4992, allocations: 0 / 379.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-05/0.4993, allocations: 1.531 kB / 379.8 MB, free: 9.621 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.005408/0.5047, allocations: 1.985 MB / 381.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.5048, allocations: 8.938 kB / 381.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.5057, allocations: 231.9 kB / 382 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.508, allocations: 1.162 MB / 383.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.5081, allocations: 113.9 kB / 383.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.5084, allocations: 159.1 kB / 383.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/0.5129, allocations: 2.024 MB / 385.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.513, allocations: 4.703 kB / 385.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.5132, allocations: 70.22 kB / 385.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.5133, allocations: 77.59 kB / 385.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.517, allocations: 1.676 MB / 387.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.529, allocations: 7.123 MB / 394.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5301, allocations: 479.5 kB / 394.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.5305, allocations: 289.9 kB / 395.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.5308, allocations: 111.6 kB / 395.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.5308, allocations: 45.69 kB / 395.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.5308, allocations: 0 / 395.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007367/0.5382, allocations: 3.14 MB / 398.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5383, allocations: 58.12 kB / 398.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.5412, allocations: 1.619 MB / 400.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.5412, allocations: 36.39 kB / 400.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008641/0.5421, allocations: 1.037 MB / 401.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.5423, allocations: 237.7 kB / 401.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.5424, allocations: 34.47 kB / 401.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.5426, allocations: 372.8 kB / 401.8 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.5436, allocations: 0.5246 MB / 402.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.5452, allocations: 1.458 MB / 403.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.5465, allocations: 0.8206 MB / 404.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.5465, allocations: 8 kB / 404.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003846/0.5504, allocations: 2.172 MB / 406.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.5504, allocations: 20 kB / 406.9 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/0.5505, allocations: 32 kB / 406.9 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/0.5511, allocations: 231 kB / 407.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.5522, allocations: 409.5 kB / 407.5 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.554, allocations: 1.703 MB / 409.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5558, allocations: 155.4 kB / 409.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.5559, allocations: 95.95 kB / 409.5 MB, free: 6.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001476/0.5574, allocations: 0.5905 MB / 410 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.5577, allocations: 154 kB / 410.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.5599, allocations: 1.11 MB / 411.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.5599, allocations: 4.141 kB / 411.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.5599, allocations: 7.984 kB / 411.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.56, allocations: 3.984 kB / 411.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.5652, allocations: 2.77 MB / 414.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5652, allocations: 0 / 414.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.5657, allocations: 136 kB / 414.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.5661, allocations: 166.2 kB / 414.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.5662, allocations: 12 kB / 414.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.5677, allocations: 1.655 MB / 416.1 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5677, allocations: 0 / 416.1 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.5705, allocations: 1.658 MB / 417.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.5712, allocations: 311 kB / 418 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.5714, allocations: 12 kB / 418 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.572, allocations: 60 kB / 418.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.5722, allocations: 48.5 kB / 418.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5722, allocations: 19.98 kB / 418.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001955/0.5742, allocations: 1.067 MB / 419.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5742, allocations: 0 / 419.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002006/0.5762, allocations: 363.9 kB / 419.6 MB, free: 12.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/0.5766, allocations: 138.6 kB / 419.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.5794, allocations: 1.627 MB / 421.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5794, allocations: 0 / 421.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.5805, allocations: 0.7635 MB / 422.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.5824, allocations: 395.2 kB / 422.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.5883, allocations: 3.573 MB / 426.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.5896, allocations: 1.449 MB / 427.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.59, allocations: 119.4 kB / 427.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of SimCode: time 4.048e-06/0.59, allocations: 0 / 427.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Templates: time 0.0705/0.6605, allocations: 46.97 MB / 474.6 MB, free: 5.348 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoadCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoadCalcHelperMain.o] Error 1