Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.00107, allocations: 99.09 kB / 17.96 MB, free: 5.77 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.001287/0.001287, allocations: 180.3 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 225 MB, free: 12.99 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.0005311/0.0005313, allocations: 14.81 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.0115/0.1441, allocations: 8.307 MB / 337.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00843/0.1526, allocations: 2.86 MB / 340.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1547, allocations: 31.88 kB / 340.8 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.1573, allocations: 0.5403 MB / 341.4 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.1608, allocations: 0.6528 MB / 342 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1621, allocations: 295.7 kB / 342.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004586/0.1667, allocations: 2.763 MB / 345.1 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.1692, allocations: 1.394 MB / 346.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.171, allocations: 0.8245 MB / 347.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.1734, allocations: 1.159 MB / 348.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005396/0.174, allocations: 124 kB / 348.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009525/0.1749, allocations: 223.8 kB / 348.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007115/0.1757, allocations: 0.6151 MB / 349.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.1769, allocations: 1.082 MB / 350.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.1799, allocations: 2.964 MB / 353.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1799, allocations: 4 kB / 353.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1799, allocations: 0 / 353.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.731e-05/0.18, allocations: 0 / 353.4 MB, free: 11.77 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004438/0.1844, allocations: 2.197 MB / 355.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1845, allocations: 8.031 kB / 355.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.1851, allocations: 258.1 kB / 355.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.1872, allocations: 1.295 MB / 357.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.1873, allocations: 143.9 kB / 357.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.1876, allocations: 184 kB / 357.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.1919, allocations: 2.413 MB / 359.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.192, allocations: 11.89 kB / 359.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.1922, allocations: 72 kB / 360 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.1923, allocations: 83.5 kB / 360.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.1961, allocations: 2.036 MB / 362.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.2097, allocations: 7.51 MB / 369.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.2118, allocations: 1.272 MB / 370.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.2135, allocations: 0.912 MB / 371.8 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.2138, allocations: 130.1 kB / 372 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2138, allocations: 39.56 kB / 372 MB, free: 8.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.2138, allocations: 0 / 372 MB, free: 8.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01039/0.2242, allocations: 5.048 MB / 377 MB, free: 3.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.2243, allocations: 64.41 kB / 377.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.2266, allocations: 1.376 MB / 378.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/0.2267, allocations: 45.7 kB / 378.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008356/0.2276, allocations: 0.8931 MB / 379.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.228, allocations: 350.9 kB / 379.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.2281, allocations: 97.66 kB / 379.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.2283, allocations: 349.9 kB / 380.2 MB, free: 400 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2608/0.4891, allocations: 0.6407 MB / 380.8 MB, free: 50.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.491, allocations: 0.9283 MB / 381.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/0.4945, allocations: 1.67 MB / 383.4 MB, free: 49.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4945, allocations: 3.812 kB / 383.4 MB, free: 49.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005871/0.5004, allocations: 2.398 MB / 385.8 MB, free: 49.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.5004, allocations: 9.5 kB / 385.8 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.5005, allocations: 9.406 kB / 385.9 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/0.5031, allocations: 0.7143 MB / 386.6 MB, free: 49.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5042, allocations: 237.2 kB / 386.8 MB, free: 49.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.5156, allocations: 8.036 MB / 394.8 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5169, allocations: 84.08 kB / 394.9 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.5171, allocations: 43.75 kB / 395 MB, free: 44.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001525/0.5186, allocations: 0.6291 MB / 395.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.5189, allocations: 141.4 kB / 395.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.5226, allocations: 1.914 MB / 397.6 MB, free: 43.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5226, allocations: 17.58 kB / 397.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5226, allocations: 0 / 397.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5226, allocations: 9.797 kB / 397.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.5286, allocations: 4.022 MB / 401.7 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5287, allocations: 3.594 kB / 401.7 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.5294, allocations: 186.7 kB / 401.9 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.5306, allocations: 466.9 kB / 402.3 MB, free: 40.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.5307, allocations: 30.28 kB / 402.4 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005188/0.5358, allocations: 6.155 MB / 408.5 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5359, allocations: 7.969 kB / 408.5 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/0.5397, allocations: 2.799 MB / 411.3 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007497/0.5405, allocations: 363.2 kB / 411.7 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.5407, allocations: 24 kB / 411.7 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.5414, allocations: 79.92 kB / 411.8 MB, free: 31.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.5416, allocations: 80.75 kB / 411.9 MB, free: 31.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.5417, allocations: 31.98 kB / 411.9 MB, free: 31.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.543, allocations: 0.9504 MB / 412.8 MB, free: 30.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.543, allocations: 4 kB / 412.8 MB, free: 30.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001645/0.5447, allocations: 437 kB / 413.3 MB, free: 29.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (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.0003501/0.545, allocations: 173.1 kB / 413.4 MB, free: 29.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003289/0.5483, allocations: 2.022 MB / 415.5 MB, free: 27.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.5484, allocations: 0 / 415.5 MB, free: 27.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.5501, allocations: 1.355 MB / 416.8 MB, free: 26.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.5522, allocations: 354.5 kB / 417.2 MB, free: 25.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.5591, allocations: 5.027 MB / 422.2 MB, free: 20.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.5602, allocations: 1.677 MB / 423.9 MB, free: 19.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.5607, allocations: 99.42 kB / 424 MB, free: 19.08 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5607, allocations: 0 / 424 MB, free: 19.08 MB / 318.1 MB Notification: Performance of Templates: time 0.08393/0.6446, allocations: 52.29 MB / 476.3 MB, free: 14.67 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_InitializeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InitializeCalcHelperMain.o] Error 1