Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 91.72 kB / 16.95 MB, free: 5.625 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.001194/0.001194, allocations: 189.2 kB / 17.85 MB, free: 5.293 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.658/1.658, allocations: 223.2 MB / 241.9 MB, free: 128 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 15.98 kB / 301.5 MB, free: 6.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 50.42 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource): time 0.01234/0.1432, allocations: 10.49 MB / 362.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009457/0.1527, allocations: 3.748 MB / 366.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.1556, allocations: 67.69 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.1583, allocations: 0.6988 MB / 366.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.1624, allocations: 0.808 MB / 367.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1639, allocations: 359.5 kB / 368 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005251/0.1692, allocations: 3.371 MB / 371.4 MB, free: 396 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.249/0.4182, allocations: 2.155 MB / 373.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/0.4218, allocations: 1.141 MB / 374.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.4263, allocations: 1.605 MB / 376.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.4279, allocations: 168.2 kB / 376.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.43, allocations: 258.4 kB / 376.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.4316, allocations: 0.9282 MB / 377.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.4334, allocations: 0.6416 MB / 378.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007722/0.4411, allocations: 4.538 MB / 382.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.4412, allocations: 0 / 382.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4412, allocations: 4 kB / 382.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002454/0.4414, allocations: 1.094 kB / 382.8 MB, free: 9.375 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: 775 * Number of variables: 775 Notification: Performance of Generate backend data structure: time 0.01117/0.4526, allocations: 3.333 MB / 386.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.4527, allocations: 9.156 kB / 386.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.4558, allocations: 408.4 kB / 386.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006466/0.4623, allocations: 2.003 MB / 388.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.4626, allocations: 228.7 kB / 388.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.464, allocations: 303.5 kB / 389.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00912/0.4731, allocations: 3.828 MB / 392.9 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.441e-05/0.4732, allocations: 8.109 kB / 392.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.4735, allocations: 120.8 kB / 393.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.4737, allocations: 149.2 kB / 393.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006142/0.4799, allocations: 3.237 MB / 396.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.5038, allocations: 12.2 MB / 408.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.5066, allocations: 1.935 MB / 410.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.5086, allocations: 1.18 MB / 411.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003522/0.509, allocations: 217 kB / 412 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.5091, allocations: 47.88 kB / 412 MB, free: 6.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=139): time 3.577e-06/0.5091, allocations: 0 / 412 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=155): time 0.01529/0.5244, allocations: 7.019 MB / 419 MB, free: 15.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.5245, allocations: 72.72 kB / 419.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.5283, allocations: 2.012 MB / 421.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.5286, allocations: 53.7 kB / 421.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.5299, allocations: 1.463 MB / 422.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006272/0.5305, allocations: 0.5302 MB / 423.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.5306, allocations: 32 kB / 423.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.5309, allocations: 389.8 kB / 423.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.5323, allocations: 0.8706 MB / 424.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.5342, allocations: 1.438 MB / 425.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.5358, allocations: 1.119 MB / 427 MB, free: 7.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.5358, allocations: 4 kB / 427 MB, free: 7.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00576/0.5416, allocations: 2.995 MB / 430 MB, free: 4.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.5416, allocations: 16 kB / 430 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/0.5417, allocations: 21.95 kB / 430 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009703/0.5427, allocations: 394.8 kB / 430.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.5443, allocations: 472.5 kB / 430.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/0.5503, allocations: 6.14 MB / 437 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.5526, allocations: 139.6 kB / 437.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/0.5529, allocations: 87.98 kB / 437.3 MB, free: 12.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 1 (sinCosEvaluation.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 224 * 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: 3 * 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: 3 {(2,100.0%) 9,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002325/0.5552, allocations: 0.9266 MB / 438.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006597/0.5559, allocations: 209.4 kB / 438.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.5604, allocations: 2.602 MB / 441 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5604, allocations: 16 kB / 441 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5604, allocations: 4 kB / 441 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.5604, allocations: 7.969 kB / 441 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00973/0.5702, allocations: 5.859 MB / 446.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5702, allocations: 8.078 kB / 446.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.5714, allocations: 295.5 kB / 447.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009127/0.5723, allocations: 395.6 kB / 447.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5724, allocations: 39.98 kB / 447.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006623/0.579, allocations: 7.592 MB / 455.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5791, allocations: 8 kB / 455.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006102/0.5852, allocations: 3.825 MB / 459 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/0.5871, allocations: 498.1 kB / 459.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.5874, allocations: 43.98 kB / 459.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.5884, allocations: 91.89 kB / 459.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.5887, allocations: 113 kB / 459.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5888, allocations: 51.98 kB / 459.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00258/0.5914, allocations: 1.367 MB / 461.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5914, allocations: 0 / 461.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002473/0.5938, allocations: 0.5664 MB / 461.7 MB, free: 3.395 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,dqCurrentController.PI_d.x,dqCurrentController.PI_q.x,sinCosEvaluation.der1.u) * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 9,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/0.5942, allocations: 170.9 kB / 461.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004112/0.5984, allocations: 2.626 MB / 464.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5984, allocations: 0 / 464.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.6005, allocations: 1.572 MB / 466.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.6036, allocations: 0.5277 MB / 466.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.6156, allocations: 7.067 MB / 473.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.618, allocations: 2.216 MB / 475.9 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.6191, allocations: 179.4 kB / 476.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6191, allocations: 0 / 476.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of Templates: time 0.3966/1.016, allocations: 94.16 MB / 0.5569 GB, free: 135.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.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_VoltageSourceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1