Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 89.16 kB / 16.95 MB, free: 5.66 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.0008745/0.0008746, allocations: 187 kB / 17.85 MB, free: 5.312 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.694/1.694, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 8 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01156/0.1735, allocations: 8.528 MB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009507/0.1831, allocations: 3.356 MB / 363.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.1854, allocations: 43.81 kB / 363.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.1878, allocations: 0.536 MB / 364.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.1914, allocations: 0.7071 MB / 365 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1932, allocations: 318.9 kB / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005572/0.1988, allocations: 2.708 MB / 368.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.2014, allocations: 1.319 MB / 369.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.204, allocations: 0.9182 MB / 370.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.2071, allocations: 1.323 MB / 371.6 MB, free: 164 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004994/0.2077, allocations: 136 kB / 371.8 MB, free: 28 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3458/0.5535, allocations: 333.1 kB / 372.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.5554, allocations: 0.7928 MB / 372.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.5568, allocations: 0.5117 MB / 373.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006344/0.5632, allocations: 3.379 MB / 376.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5632, allocations: 3.25 kB / 376.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5632, allocations: 1.125 kB / 376.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001935/0.5634, allocations: 0 / 376.8 MB, free: 11.98 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009966/0.5734, allocations: 2.732 MB / 379.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5735, allocations: 10.28 kB / 379.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.5756, allocations: 322.5 kB / 379.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.5802, allocations: 1.579 MB / 381.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.5804, allocations: 150.1 kB / 381.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006982/0.5811, allocations: 214.7 kB / 381.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007654/0.5888, allocations: 2.691 MB / 384.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-05/0.5889, allocations: 14.33 kB / 384.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.5891, allocations: 84.66 kB / 384.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.5893, allocations: 96.14 kB / 384.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005599/0.5949, allocations: 2.291 MB / 386.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01973/0.6147, allocations: 8.268 MB / 395.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.6176, allocations: 1.641 MB / 396.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.6195, allocations: 1.105 MB / 397.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.6198, allocations: 129.1 kB / 398.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.6199, allocations: 50.86 kB / 398.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 4.018e-06/0.6199, allocations: 0 / 398.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01457/0.6344, allocations: 6.491 MB / 404.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.6345, allocations: 68.72 kB / 404.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.6382, allocations: 2.144 MB / 406.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.6384, allocations: 45.7 kB / 406.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.6394, allocations: 1.106 MB / 408 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/0.6399, allocations: 455.7 kB / 408.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.64, allocations: 28 kB / 408.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6402, allocations: 357.9 kB / 408.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.6416, allocations: 0.7691 MB / 409.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.6431, allocations: 1.017 MB / 410.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6447, allocations: 0.8984 MB / 411.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6447, allocations: 4 kB / 411.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005602/0.6503, allocations: 2.78 MB / 414.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.6504, allocations: 8 kB / 414.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.6504, allocations: 8 kB / 414.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.6525, allocations: 0.7853 MB / 415.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.6537, allocations: 274.5 kB / 415.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.6656, allocations: 8.741 MB / 424.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.6678, allocations: 103.9 kB / 424.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.668, allocations: 52.17 kB / 424.2 MB, free: 10.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002076/0.67, allocations: 0.7361 MB / 425 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006755/0.6707, allocations: 205.5 kB / 425.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.6758, allocations: 2.514 MB / 427.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.6759, allocations: 12 kB / 427.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6759, allocations: 8 kB / 427.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.6759, allocations: 7.969 kB / 427.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009792/0.6857, allocations: 4.964 MB / 432.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6857, allocations: 4 kB / 432.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6868, allocations: 220.7 kB / 432.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.6885, allocations: 0.652 MB / 433.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.6887, allocations: 27.98 kB / 433.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009489/0.6982, allocations: 7.924 MB / 441.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6982, allocations: 0 / 441.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007389/0.7056, allocations: 3.555 MB / 445.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/0.7075, allocations: 450.4 kB / 445.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.7078, allocations: 27.98 kB / 445.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009943/0.7089, allocations: 95.91 kB / 445.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.7092, allocations: 103.7 kB / 445.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.7094, allocations: 39.97 kB / 445.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002843/0.7122, allocations: 1.508 MB / 447.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7122, allocations: 0 / 447.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002976/0.7152, allocations: 0.529 MB / 447.8 MB, free: 2.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * 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: 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%) 12,(1,100.0%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/0.7167, allocations: 437.1 kB / 448.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004856/0.7215, allocations: 2.394 MB / 450.6 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7216, allocations: 0 / 450.6 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.7243, allocations: 1.619 MB / 452.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.7274, allocations: 427 kB / 452.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.739, allocations: 6.076 MB / 458.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.7409, allocations: 1.928 MB / 460.6 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/0.7419, allocations: 143.3 kB / 460.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7419, allocations: 0 / 460.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of Templates: time 0.1056/0.8475, allocations: 63.36 MB / 0.5119 GB, free: 6.52 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1