Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001285, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.65/1.65, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002343, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1224, allocations: 51.48 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.009944/0.1324, allocations: 8.534 MB / 367.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006247/0.1387, allocations: 2.981 MB / 370.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.1402, allocations: 51.75 kB / 370.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.1416, allocations: 0.5397 MB / 370.9 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.1438, allocations: 0.6486 MB / 371.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.1446, allocations: 255.7 kB / 371.8 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2439/0.3885, allocations: 2.587 MB / 374.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/0.392, allocations: 1.522 MB / 375.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.3948, allocations: 0.8877 MB / 376.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.3978, allocations: 1.214 MB / 378 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.3983, allocations: 136.4 kB / 378.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3993, allocations: 213.3 kB / 378.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.4004, allocations: 0.6723 MB / 379 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009899/0.4014, allocations: 495 kB / 379.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005777/0.4072, allocations: 3.34 MB / 382.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4072, allocations: 0 / 382.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4072, allocations: 0 / 382.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001645/0.4074, allocations: 0 / 382.8 MB, free: 9.258 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.007775/0.4152, allocations: 2.502 MB / 385.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4152, allocations: 9.719 kB / 385.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.4167, allocations: 300.2 kB / 385.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.4198, allocations: 1.451 MB / 387.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.42, allocations: 159.9 kB / 387.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/0.4205, allocations: 214.9 kB / 387.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006543/0.427, allocations: 2.793 MB / 390.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.4271, allocations: 5.562 kB / 390.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.4273, allocations: 84.48 kB / 390.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.4275, allocations: 111 kB / 390.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005539/0.4331, allocations: 2.356 MB / 392.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.4486, allocations: 8.65 MB / 401.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.4512, allocations: 1.703 MB / 403.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.453, allocations: 0.9933 MB / 404.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.4533, allocations: 207 kB / 404.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.4534, allocations: 49.91 kB / 404.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 2.605e-06/0.4534, allocations: 0 / 404.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.01427/0.4676, allocations: 6.325 MB / 410.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.4678, allocations: 68.34 kB / 410.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.4705, allocations: 1.434 MB / 412.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.4706, allocations: 45.7 kB / 412.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008894/0.4715, allocations: 1.045 MB / 413.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.4719, allocations: 411.1 kB / 413.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.472, allocations: 24 kB / 413.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.4723, allocations: 361.9 kB / 414.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4736, allocations: 0.6949 MB / 414.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4752, allocations: 1.08 MB / 415.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.4767, allocations: 0.8573 MB / 416.7 MB, free: 104 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4767, allocations: 4.844 kB / 416.7 MB, free: 100 kB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004737/0.4815, allocations: 2.426 MB / 419.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.4815, allocations: 12.25 kB / 419.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.4816, allocations: 16 kB / 419.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4826, allocations: 416.5 kB / 419.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4838, allocations: 331.5 kB / 419.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/0.4918, allocations: 6.466 MB / 426.4 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.4935, allocations: 115.7 kB / 426.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.4936, allocations: 59.98 kB / 426.6 MB, free: 5.828 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.002076/0.4957, allocations: 0.6886 MB / 427.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.4961, allocations: 154.1 kB / 427.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/0.5002, allocations: 2.147 MB / 429.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5002, allocations: 12 kB / 429.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.5003, allocations: 4 kB / 429.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5003, allocations: 7.969 kB / 429.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009579/0.5099, allocations: 4.625 MB / 434.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5099, allocations: 0 / 434.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.511, allocations: 223.7 kB / 434.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.5125, allocations: 440.2 kB / 434.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.5127, allocations: 31.98 kB / 434.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008959/0.5216, allocations: 7.916 MB / 442.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.5217, allocations: 7.938 kB / 442.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005531/0.5272, allocations: 3.124 MB / 445.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.5283, allocations: 387 kB / 446.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.5285, allocations: 28 kB / 446.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.5294, allocations: 91.91 kB / 446.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.5297, allocations: 96.75 kB / 446.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.5297, allocations: 32 kB / 446.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001844/0.5316, allocations: 0.9849 MB / 447.5 MB, free: 68 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5316, allocations: 0 / 447.5 MB, free: 68 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002109/0.5337, allocations: 460 kB / 448 MB, free: 15.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (102): * Single equations (assignments): 98 * 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.0003929/0.5341, allocations: 166.3 kB / 448.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003843/0.538, allocations: 2.235 MB / 450.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.538, allocations: 4.375 kB / 450.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.5404, allocations: 1.442 MB / 451.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.5428, allocations: 408 kB / 452.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/0.5527, allocations: 5.373 MB / 457.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.5548, allocations: 1.784 MB / 459.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.5556, allocations: 119.4 kB / 459.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5556, allocations: 4 kB / 459.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of Templates: time 0.09624/0.6519, allocations: 68.73 MB / 0.5159 GB, free: 15.2 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_InverterCalcHelperMain.o] Error 1