Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007496/0.0007497, allocations: 87.11 kB / 17.58 MB, free: 5.758 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.0007814/0.0007814, allocations: 186.4 kB / 18.48 MB, free: 5.203 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.808/1.808, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004599/0.00046, allocations: 11.98 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 47.57 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.011/0.1412, allocations: 9.086 MB / 338.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.1492, allocations: 3.274 MB / 341.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.1511, allocations: 43.75 kB / 341.4 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.1531, allocations: 0.6213 MB / 342 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.156, allocations: 0.699 MB / 342.7 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.1569, allocations: 271.6 kB / 343 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.1607, allocations: 2.79 MB / 345.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.163, allocations: 1.552 MB / 347.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.165, allocations: 0.9494 MB / 348.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.1677, allocations: 1.288 MB / 349.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004146/0.1681, allocations: 144 kB / 349.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008315/0.169, allocations: 211.9 kB / 349.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008809/0.1698, allocations: 0.7086 MB / 350.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009348/0.1708, allocations: 0.5199 MB / 351.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.1743, allocations: 3.51 MB / 354.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1743, allocations: 0 / 354.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1743, allocations: 0 / 354.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.21e-05/0.1744, allocations: 4 kB / 354.6 MB, free: 10.29 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00544/0.1798, allocations: 2.621 MB / 357.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.1799, allocations: 15.97 kB / 357.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000816/0.1807, allocations: 308.5 kB / 357.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.1833, allocations: 1.466 MB / 359 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.1835, allocations: 176.4 kB / 359.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.1838, allocations: 220 kB / 359.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/0.189, allocations: 2.913 MB / 362.3 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.189, allocations: 7.906 kB / 362.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.1893, allocations: 87.95 kB / 362.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.1894, allocations: 112.3 kB / 362.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004514/0.1939, allocations: 2.437 MB / 365 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.2094, allocations: 9.141 MB / 374.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.2119, allocations: 1.717 MB / 375.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.2136, allocations: 1.003 MB / 376.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.2139, allocations: 203.2 kB / 377 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.214, allocations: 47.55 kB / 377.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 3.376e-06/0.214, allocations: 0 / 377.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.2843/0.4983, allocations: 6.648 MB / 383.7 MB, free: 49.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.4984, allocations: 66 kB / 383.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/0.5018, allocations: 1.555 MB / 385.4 MB, free: 49.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.5019, allocations: 48.55 kB / 385.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.5028, allocations: 1.102 MB / 386.5 MB, free: 48.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.5032, allocations: 433.5 kB / 386.9 MB, free: 47.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.5033, allocations: 33.78 kB / 387 MB, free: 47.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5034, allocations: 364.5 kB / 387.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.5047, allocations: 0.7115 MB / 388 MB, free: 47.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.5062, allocations: 1.144 MB / 389.2 MB, free: 46.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.5077, allocations: 0.8956 MB / 390.1 MB, free: 46.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5077, allocations: 3.781 kB / 390.1 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004709/0.5124, allocations: 2.526 MB / 392.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.5124, allocations: 10.94 kB / 392.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.5125, allocations: 17.58 kB / 392.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009082/0.5134, allocations: 428.8 kB / 393 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5146, allocations: 352.3 kB / 393.4 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.5205, allocations: 6.548 MB / 399.9 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.5221, allocations: 112 kB / 400 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.5222, allocations: 69.02 kB / 400.1 MB, free: 39.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001431/0.5236, allocations: 0.7188 MB / 400.8 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.5239, allocations: 168.6 kB / 401 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.5272, allocations: 2.203 MB / 403.2 MB, free: 38.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5272, allocations: 16.53 kB / 403.2 MB, free: 38.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.5272, allocations: 8.172 kB / 403.2 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.5272, allocations: 8.203 kB / 403.2 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.5336, allocations: 4.801 MB / 408 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5337, allocations: 7.984 kB / 408 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.5345, allocations: 230.3 kB / 408.3 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/0.5354, allocations: 454.1 kB / 408.7 MB, free: 34.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/0.5355, allocations: 39.98 kB / 408.8 MB, free: 34.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005633/0.5411, allocations: 7.967 MB / 416.7 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5411, allocations: 8 kB / 416.7 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/0.5454, allocations: 3.239 MB / 420 MB, free: 22.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/0.5463, allocations: 410.7 kB / 420.4 MB, free: 21.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.5465, allocations: 35.98 kB / 420.4 MB, free: 21.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.5473, allocations: 91.91 kB / 420.5 MB, free: 21.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.5475, allocations: 96.77 kB / 420.6 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.5476, allocations: 43.98 kB / 420.6 MB, free: 21.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.5492, allocations: 1.063 MB / 421.7 MB, free: 20.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5492, allocations: 0 / 421.7 MB, free: 20.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002076/0.5513, allocations: 489.1 kB / 422.2 MB, free: 20.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * 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%) 12,(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.0003468/0.5516, allocations: 163.9 kB / 422.3 MB, free: 20.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.5549, allocations: 2.292 MB / 424.6 MB, free: 17.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5549, allocations: 4.062 kB / 424.6 MB, free: 17.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.5568, allocations: 1.479 MB / 426.1 MB, free: 16.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.5589, allocations: 455.7 kB / 426.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.5665, allocations: 5.663 MB / 432.2 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.5678, allocations: 1.842 MB / 434.1 MB, free: 8.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.5683, allocations: 131.4 kB / 434.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5683, allocations: 0 / 434.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of Templates: time 0.08574/0.6541, allocations: 73.22 MB / 0.4955 GB, free: 14.57 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.SMPM_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_InverterCalcHelperMain.o] Error 1