Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002494/0.002495, allocations: 194 kB / 18.72 MB, free: 4.762 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.722/1.722, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001513/0.001512, allocations: 51.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1354, allocations: 46.63 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01487/0.1503, allocations: 9.696 MB / 337 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008885/0.1593, allocations: 3.121 MB / 340.1 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.1623, allocations: 39.81 kB / 340.1 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.1654, allocations: 0.5749 MB / 340.7 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.1702, allocations: 0.7538 MB / 341.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.172, allocations: 343.7 kB / 341.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007032/0.179, allocations: 3.53 MB / 345.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00413/0.1832, allocations: 2.008 MB / 347.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.1861, allocations: 1.167 MB / 348.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.1896, allocations: 1.619 MB / 350.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.1907, allocations: 223.9 kB / 350.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.1926, allocations: 323.8 kB / 350.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1938, allocations: 0.8372 MB / 351.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.1961, allocations: 1.45 MB / 352.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.2002, allocations: 3.874 MB / 356.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.2002, allocations: 0 / 356.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2002, allocations: 0 / 356.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.838e-05/0.2003, allocations: 0 / 356.8 MB, free: 7.176 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.006981/0.2073, allocations: 3.206 MB / 360 MB, free: 3.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.2074, allocations: 16.03 kB / 360 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.2082, allocations: 321.3 kB / 360.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.2109, allocations: 1.627 MB / 362 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.211, allocations: 172.9 kB / 362.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.2113, allocations: 239.8 kB / 362.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/0.2168, allocations: 3.184 MB / 365.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/0.2169, allocations: 8 kB / 365.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.2171, allocations: 92 kB / 365.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.2173, allocations: 104.4 kB / 365.7 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.2222, allocations: 2.738 MB / 368.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/0.2396, allocations: 9.875 MB / 378.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2976/0.5373, allocations: 2.09 MB / 380.4 MB, free: 50.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003686/0.5411, allocations: 1.197 MB / 381.6 MB, free: 50.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.5416, allocations: 127 kB / 381.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/0.5417, allocations: 44.92 kB / 381.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 5.721e-06/0.5417, allocations: 6.906 kB / 381.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02533/0.567, allocations: 7.993 MB / 389.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.5672, allocations: 70.88 kB / 389.9 MB, free: 47.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/0.5704, allocations: 1.674 MB / 391.6 MB, free: 46.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.5706, allocations: 53.55 kB / 391.6 MB, free: 46.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/0.5713, allocations: 1.084 MB / 392.7 MB, free: 45.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.5718, allocations: 489.4 kB / 393.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.5724, allocations: 290 kB / 393.5 MB, free: 45.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.5725, allocations: 302.4 kB / 393.7 MB, free: 45.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.5741, allocations: 0.9141 MB / 394.7 MB, free: 44.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.5761, allocations: 1.261 MB / 395.9 MB, free: 44.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.5792, allocations: 2.255 MB / 398.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5792, allocations: 0 / 398.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005118/0.5843, allocations: 3.047 MB / 401.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.5844, allocations: 11.16 kB / 401.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.5844, allocations: 11.34 kB / 401.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/0.5863, allocations: 0.8444 MB / 402.1 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5874, allocations: 308.4 kB / 402.4 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009309/0.5967, allocations: 9.063 MB / 411.5 MB, free: 31.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.599, allocations: 103.7 kB / 411.6 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.5992, allocations: 62.73 kB / 411.6 MB, free: 30.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.601, allocations: 0.8064 MB / 412.4 MB, free: 30.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005591/0.6016, allocations: 193.5 kB / 412.6 MB, free: 29.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.6061, allocations: 2.841 MB / 415.5 MB, free: 27.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6061, allocations: 12 kB / 415.5 MB, free: 27.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6061, allocations: 8 kB / 415.5 MB, free: 27.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6062, allocations: 7.734 kB / 415.5 MB, free: 27.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00879/0.615, allocations: 5.68 MB / 421.2 MB, free: 21.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.615, allocations: 4 kB / 421.2 MB, free: 21.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/0.6158, allocations: 191.7 kB / 421.4 MB, free: 21.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.618, allocations: 0.8996 MB / 422.3 MB, free: 20.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6181, allocations: 35.98 kB / 422.3 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009932/0.628, allocations: 10.55 MB / 432.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6281, allocations: 11.91 kB / 432.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007123/0.6352, allocations: 4.149 MB / 437 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.6368, allocations: 466.7 kB / 437.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/0.6374, allocations: 28 kB / 437.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.6389, allocations: 83.91 kB / 437.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.6394, allocations: 145 kB / 437.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.6396, allocations: 39.98 kB / 437.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00274/0.6424, allocations: 1.153 MB / 438.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6424, allocations: 0 / 438.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003409/0.6458, allocations: 0.5611 MB / 439.5 MB, free: 2.355 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006025/0.6464, allocations: 193.9 kB / 439.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005658/0.6521, allocations: 2.982 MB / 442.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.6521, allocations: 4 kB / 442.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003854/0.656, allocations: 2.035 MB / 444.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/0.6603, allocations: 473.5 kB / 445.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.6754, allocations: 6.255 MB / 451.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003338/0.6788, allocations: 1.992 MB / 453.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008896/0.6797, allocations: 123.4 kB / 453.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of SimCode: time 1.983e-06/0.6798, allocations: 4 kB / 453.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Templates: time 0.4182/1.098, allocations: 92.14 MB / 0.5329 GB, free: 135.5 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.o] Error 1