Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009223, allocations: 89.14 kB / 17.58 MB, free: 6.219 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.0008967/0.0008968, allocations: 188.5 kB / 18.48 MB, free: 5.379 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.907/1.907, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004788/0.0004788, allocations: 12 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 47.56 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009283/0.1234, allocations: 8.466 MB / 337.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.1297, allocations: 2.959 MB / 340.4 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1309, allocations: 47.75 kB / 340.5 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1324, allocations: 0.528 MB / 341 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.1344, allocations: 0.6525 MB / 341.6 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.1351, allocations: 255.6 kB / 341.9 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.1382, allocations: 2.607 MB / 344.5 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.1401, allocations: 1.492 MB / 346 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.1416, allocations: 0.8793 MB / 346.9 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.1435, allocations: 1.222 MB / 348.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.1438, allocations: 132 kB / 348.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1444, allocations: 215.9 kB / 348.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007065/0.1451, allocations: 0.6658 MB / 349.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006747/0.1458, allocations: 0.4926 MB / 349.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.1491, allocations: 3.323 MB / 352.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1492, allocations: 0 / 352.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1492, allocations: 0 / 352.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.1493, allocations: 0 / 352.9 MB, free: 12.03 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005243/0.1545, allocations: 2.495 MB / 355.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1546, allocations: 8.031 kB / 355.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008579/0.1555, allocations: 292.7 kB / 355.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.158, allocations: 1.382 MB / 357.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.1582, allocations: 168.2 kB / 357.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.1585, allocations: 211.9 kB / 357.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.1638, allocations: 2.788 MB / 360.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.1639, allocations: 7.938 kB / 360.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.1641, allocations: 91.98 kB / 360.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.1643, allocations: 108.1 kB / 360.4 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.1692, allocations: 2.351 MB / 362.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.1847, allocations: 8.64 MB / 371.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.1874, allocations: 1.716 MB / 373.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.1892, allocations: 0.9714 MB / 374.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.1896, allocations: 211.2 kB / 374.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.1897, allocations: 47.5 kB / 374.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 3.607e-06/0.1897, allocations: 0 / 374.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.2167/0.4064, allocations: 6.189 MB / 380.6 MB, free: 49.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4065, allocations: 66.23 kB / 380.6 MB, free: 49.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.409, allocations: 1.429 MB / 382.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.4092, allocations: 45.33 kB / 382.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/0.41, allocations: 1.043 MB / 383.1 MB, free: 49.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.4104, allocations: 410.3 kB / 383.5 MB, free: 49.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.4105, allocations: 29.62 kB / 383.6 MB, free: 49.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.4106, allocations: 361.3 kB / 383.9 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4119, allocations: 0.6924 MB / 384.6 MB, free: 48.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4133, allocations: 1.075 MB / 385.7 MB, free: 47.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.4146, allocations: 0.859 MB / 386.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4146, allocations: 4.156 kB / 386.6 MB, free: 47.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003688/0.4183, allocations: 2.407 MB / 389 MB, free: 46.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4183, allocations: 11.64 kB / 389 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.4184, allocations: 11.72 kB / 389 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008557/0.4192, allocations: 413.3 kB / 389.4 MB, free: 46.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4203, allocations: 330.3 kB / 389.7 MB, free: 46.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0049/0.4252, allocations: 6.468 MB / 396.2 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009996/0.4262, allocations: 105.5 kB / 396.3 MB, free: 41.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.4263, allocations: 61.7 kB / 396.3 MB, free: 41.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009067/0.4272, allocations: 0.6875 MB / 397 MB, free: 40.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.4275, allocations: 157.5 kB / 397.2 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.4304, allocations: 2.132 MB / 399.3 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4305, allocations: 15.08 kB / 399.3 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4305, allocations: 4.094 kB / 399.3 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4305, allocations: 13.12 kB / 399.3 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.436, allocations: 4.589 MB / 403.9 MB, free: 37.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4361, allocations: 3.719 kB / 403.9 MB, free: 37.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.4368, allocations: 220.7 kB / 404.2 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/0.4377, allocations: 444.8 kB / 404.6 MB, free: 37.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/0.4378, allocations: 44.8 kB / 404.6 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/0.4431, allocations: 7.918 MB / 412.5 MB, free: 29.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4431, allocations: 4 kB / 412.6 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.447, allocations: 3.127 MB / 415.7 MB, free: 26.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.448, allocations: 387.6 kB / 416.1 MB, free: 26.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.4482, allocations: 31.98 kB / 416.1 MB, free: 26.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.449, allocations: 95.86 kB / 416.2 MB, free: 26.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.4493, allocations: 92.81 kB / 416.3 MB, free: 26.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.4493, allocations: 43.98 kB / 416.3 MB, free: 26.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.4506, allocations: 0.973 MB / 417.3 MB, free: 25.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4506, allocations: 0 / 417.3 MB, free: 25.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001551/0.4522, allocations: 466.2 kB / 417.7 MB, free: 24.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.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 (103): * Single equations (assignments): 99 * 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 {(3,100.0%) 11,(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.0002726/0.4524, allocations: 171 kB / 417.9 MB, free: 24.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.4553, allocations: 2.219 MB / 420.1 MB, free: 22.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4553, allocations: 0 / 420.1 MB, free: 22.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.4571, allocations: 1.459 MB / 421.6 MB, free: 20.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.4589, allocations: 390.9 kB / 422 MB, free: 20.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.4652, allocations: 5.394 MB / 427.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.4664, allocations: 1.784 MB / 429.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.4668, allocations: 119.4 kB / 429.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4668, allocations: 0 / 429.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Templates: time 0.07959/0.5464, allocations: 68.58 MB / 497.8 MB, free: 8.215 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_InverterCalcHelperMain.o] Error 1