Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 93.33 kB / 16.95 MB, free: 5.574 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.001794/0.001794, allocations: 190.6 kB / 17.85 MB, free: 5.258 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.591/1.591, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 4 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01053/0.1366, allocations: 7.951 MB / 359.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.1435, allocations: 2.95 MB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.1452, allocations: 39.81 kB / 362.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.1471, allocations: 0.5477 MB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.1497, allocations: 0.5943 MB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.1507, allocations: 207.7 kB / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.154, allocations: 2.16 MB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.1561, allocations: 0.9725 MB / 367.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.1577, allocations: 0.7119 MB / 368 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.1592, allocations: 0.9417 MB / 368.9 MB, free: 2.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.1594, allocations: 104 kB / 369 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1599, allocations: 167.9 kB / 369.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006361/0.1606, allocations: 0.5334 MB / 369.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.1612, allocations: 392.8 kB / 370.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3033/0.4645, allocations: 2.488 MB / 372.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4645, allocations: 1.375 kB / 372.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4645, allocations: 0 / 372.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.4647, allocations: 0.75 kB / 372.6 MB, free: 12.26 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005445/0.4701, allocations: 1.946 MB / 374.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.4702, allocations: 9.812 kB / 374.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009363/0.4711, allocations: 225.6 kB / 374.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.4736, allocations: 1.142 MB / 375.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.4738, allocations: 115 kB / 376 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.4741, allocations: 161.8 kB / 376.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.4788, allocations: 1.992 MB / 378.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/0.4789, allocations: 3.5 kB / 378.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.4791, allocations: 65.31 kB / 378.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.4792, allocations: 83.02 kB / 378.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.4834, allocations: 1.639 MB / 380 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.4959, allocations: 6.965 MB / 387 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.4969, allocations: 441.5 kB / 387.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.4974, allocations: 260.5 kB / 387.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.4977, allocations: 118.3 kB / 387.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4977, allocations: 36.44 kB / 387.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.707e-06/0.4977, allocations: 0 / 387.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.009235/0.507, allocations: 3.301 MB / 391.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002391/0.5094, allocations: 2.167 MB / 393.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.5122, allocations: 1.605 MB / 394.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.5123, allocations: 35.36 kB / 394.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/0.5131, allocations: 1.022 MB / 395.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.5133, allocations: 236.5 kB / 396.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.5134, allocations: 34.88 kB / 396.2 MB, free: 2.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5135, allocations: 371.8 kB / 396.5 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.5144, allocations: 0.5101 MB / 397.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.5159, allocations: 1.455 MB / 398.5 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.517, allocations: 0.8006 MB / 399.3 MB, free: 268 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.517, allocations: 14.03 kB / 399.3 MB, free: 264 kB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003859/0.5209, allocations: 2.145 MB / 401.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.5209, allocations: 17.62 kB / 401.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/0.521, allocations: 33.5 kB / 401.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/0.5216, allocations: 237.7 kB / 401.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5228, allocations: 393.9 kB / 402.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.5253, allocations: 1.707 MB / 403.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.5276, allocations: 139.1 kB / 404 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.5278, allocations: 94.5 kB / 404.1 MB, free: 13.56 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.00153/0.5293, allocations: 0.5865 MB / 404.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.5298, allocations: 150.1 kB / 404.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.532, allocations: 1.121 MB / 405.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5321, allocations: 8 kB / 405.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5321, allocations: 0 / 405.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5321, allocations: 3.984 kB / 405.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00646/0.5386, allocations: 3.388 MB / 409.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5386, allocations: 4 kB / 409.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.5391, allocations: 107.8 kB / 409.4 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006313/0.5397, allocations: 230.4 kB / 409.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.5398, allocations: 20.86 kB / 409.7 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.5442, allocations: 3.686 MB / 413.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002435/0.5467, allocations: 2.016 MB / 415.4 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.5501, allocations: 1.737 MB / 417.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.5512, allocations: 307.1 kB / 417.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5514, allocations: 19.98 kB / 417.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.552, allocations: 47.95 kB / 417.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.5522, allocations: 67.5 kB / 417.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.5523, allocations: 20 kB / 417.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.5544, allocations: 1.065 MB / 418.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5544, allocations: 0 / 418.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00229/0.5567, allocations: 380 kB / 419 MB, free: 14.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003537/0.557, allocations: 148.5 kB / 419.2 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.56, allocations: 1.591 MB / 420.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.56, allocations: 0 / 420.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.5613, allocations: 0.8297 MB / 421.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.5633, allocations: 408.3 kB / 422 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.5694, allocations: 3.753 MB / 425.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.5707, allocations: 1.457 MB / 427.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.5711, allocations: 123.4 kB / 427.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of SimCode: time 2.164e-06/0.5712, allocations: 0 / 427.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of Templates: time 0.06344/0.6346, allocations: 46.86 MB / 474.2 MB, free: 7.008 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoadCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoadCalcHelperMain.o] Error 1