Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 91.34 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.001041/0.001041, allocations: 182.1 kB / 18.48 MB, free: 5.207 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.88/1.88, 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.0004702/0.0004702, allocations: 8 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 47.59 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01155/0.1308, allocations: 10.1 MB / 339.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008876/0.1398, allocations: 3.689 MB / 342.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.1422, allocations: 51.75 kB / 342.8 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.1448, allocations: 0.6798 MB / 343.5 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.1484, allocations: 0.8 MB / 344.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1498, allocations: 335.5 kB / 344.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004919/0.1547, allocations: 3.261 MB / 347.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.1572, allocations: 1.697 MB / 349.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.1596, allocations: 1.074 MB / 350.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.1634, allocations: 1.475 MB / 352.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005855/0.164, allocations: 164 kB / 352.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1653, allocations: 371.6 kB / 352.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009841/0.1663, allocations: 0.802 MB / 353.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1675, allocations: 0.5822 MB / 354.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.172, allocations: 4.012 MB / 358.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.1721, allocations: 4 kB / 358.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1721, allocations: 0 / 358.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001577/0.1723, allocations: 0 / 358.1 MB, free: 6.84 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007472/0.1797, allocations: 3.001 MB / 361.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.1798, allocations: 8.031 kB / 361.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.1818, allocations: 412.1 kB / 361.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.1854, allocations: 1.652 MB / 363.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.1857, allocations: 197 kB / 363.3 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.1861, allocations: 255.9 kB / 363.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006885/0.193, allocations: 3.235 MB / 366.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.035e-05/0.1932, allocations: 15.8 kB / 366.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.1934, allocations: 100 kB / 366.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.1935, allocations: 116.9 kB / 367 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005512/0.1991, allocations: 2.709 MB / 369.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.2187, allocations: 10.42 MB / 380.2 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2625/0.4812, allocations: 1.782 MB / 381.9 MB, free: 34.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.4837, allocations: 1.064 MB / 383 MB, free: 34.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.484, allocations: 205.9 kB / 383.2 MB, free: 34.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.4841, allocations: 48.94 kB / 383.3 MB, free: 34.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.577e-06/0.4841, allocations: 0 / 383.3 MB, free: 34.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02184/0.5059, allocations: 7.739 MB / 391 MB, free: 32.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.5061, allocations: 65.72 kB / 391.1 MB, free: 32.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.5103, allocations: 1.87 MB / 392.9 MB, free: 32.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003035/0.5106, allocations: 45.31 kB / 393 MB, free: 32.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.5116, allocations: 1.241 MB / 394.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/0.5122, allocations: 470.6 kB / 394.7 MB, free: 31.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.5123, allocations: 35.05 kB / 394.7 MB, free: 31.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5124, allocations: 372.9 kB / 395.1 MB, free: 31.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.514, allocations: 0.8216 MB / 395.9 MB, free: 31.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.5158, allocations: 1.329 MB / 397.2 MB, free: 30.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.5172, allocations: 1.018 MB / 398.2 MB, free: 30.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.5172, allocations: 4.938 kB / 398.2 MB, free: 30.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004988/0.5222, allocations: 2.814 MB / 401.1 MB, free: 30.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.5223, allocations: 12.72 kB / 401.1 MB, free: 30.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.5223, allocations: 15.66 kB / 401.1 MB, free: 30.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.5233, allocations: 421.9 kB / 401.5 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.5247, allocations: 411.3 kB / 401.9 MB, free: 30.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/0.53, allocations: 5.282 MB / 407.2 MB, free: 27.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.5324, allocations: 129.5 kB / 407.3 MB, free: 27.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.5327, allocations: 81.11 kB / 407.4 MB, free: 27.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * 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: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00254/0.5353, allocations: 0.7898 MB / 408.2 MB, free: 26.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/0.5365, allocations: 196 kB / 408.4 MB, free: 26.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.5404, allocations: 2.412 MB / 410.8 MB, free: 24.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/0.5404, allocations: 19.84 kB / 410.8 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5405, allocations: 4 kB / 410.8 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5405, allocations: 3.844 kB / 410.8 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.5486, allocations: 5.305 MB / 416.1 MB, free: 19.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.5487, allocations: 4 kB / 416.1 MB, free: 19.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/0.5497, allocations: 262.9 kB / 416.4 MB, free: 18.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.5507, allocations: 463.1 kB / 416.8 MB, free: 18.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5509, allocations: 37.28 kB / 416.9 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/0.5565, allocations: 6.725 MB / 423.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.5565, allocations: 9.906 kB / 423.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/0.5624, allocations: 3.617 MB / 427.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.5643, allocations: 462.6 kB / 427.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009/0.5652, allocations: 38.41 kB / 427.7 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.5669, allocations: 107.9 kB / 427.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.5672, allocations: 119.3 kB / 427.9 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.5674, allocations: 43.98 kB / 428 MB, free: 6.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002554/0.5699, allocations: 1.279 MB / 429.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5699, allocations: 0 / 429.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002746/0.5727, allocations: 0.5449 MB / 429.8 MB, free: 4.945 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004943/0.5732, allocations: 178.2 kB / 430 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.5773, allocations: 2.435 MB / 432.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.5773, allocations: 0 / 432.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.5797, allocations: 1.52 MB / 433.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/0.5833, allocations: 436.8 kB / 434.4 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.5967, allocations: 6.153 MB / 440.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002957/0.5997, allocations: 1.987 MB / 442.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/0.6007, allocations: 145.1 kB / 442.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of SimCode: time 2.454e-06/0.6007, allocations: 0 / 442.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of Templates: time 0.1/0.7007, allocations: 69.68 MB / 0.5003 GB, free: 2.258 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o] Error 1