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.001157/0.001156, allocations: 87.94 kB / 17.58 MB, free: 5.367 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.0009852/0.0009857, allocations: 183.4 kB / 18.47 MB, free: 4.953 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.905/1.905, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005837/0.0005838, allocations: 11.98 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009374/0.1336, allocations: 7.823 MB / 336.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.1404, allocations: 2.741 MB / 339.6 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.1419, allocations: 35.81 kB / 339.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.1438, allocations: 0.4893 MB / 340.1 MB, free: 8.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.1464, allocations: 0.6098 MB / 340.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.1473, allocations: 211.6 kB / 340.9 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.1507, allocations: 2.482 MB / 343.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.1524, allocations: 1.192 MB / 344.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.1542, allocations: 0.8093 MB / 345.4 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.1561, allocations: 1.129 MB / 346.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.1564, allocations: 124 kB / 346.6 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.157, allocations: 195.9 kB / 346.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006769/0.1577, allocations: 0.6152 MB / 347.4 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.1584, allocations: 452.6 kB / 347.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.1616, allocations: 2.961 MB / 350.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1616, allocations: 0 / 350.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1616, allocations: 4 kB / 350.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.312e-05/0.1617, allocations: 0 / 350.8 MB, free: 14.09 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.005153/0.1669, allocations: 2.216 MB / 353.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.1669, allocations: 8.031 kB / 353.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.1677, allocations: 257.1 kB / 353.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.17, allocations: 1.26 MB / 354.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1702, allocations: 139.6 kB / 354.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.1704, allocations: 183.9 kB / 354.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/0.1751, allocations: 2.406 MB / 357.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.187e-05/0.1752, allocations: 0 / 357.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.1754, allocations: 72 kB / 357.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.1755, allocations: 87.44 kB / 357.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.1793, allocations: 2.032 MB / 359.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.1917, allocations: 7.483 MB / 367 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1937, allocations: 1.272 MB / 368.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.1953, allocations: 0.9237 MB / 369.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.1956, allocations: 122.1 kB / 369.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.1957, allocations: 39.56 kB / 369.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 4.488e-06/0.1957, allocations: 0 / 369.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01038/0.2061, allocations: 5.033 MB / 374.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.2062, allocations: 68.41 kB / 374.4 MB, free: 5.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.2086, allocations: 1.365 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.2088, allocations: 45.7 kB / 375.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008421/0.2096, allocations: 0.8969 MB / 376.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.21, allocations: 350.9 kB / 377.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.21, allocations: 20 kB / 377.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2102, allocations: 357.9 kB / 377.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.2113, allocations: 0.635 MB / 378.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.2125, allocations: 0.9259 MB / 379 MB, free: 1.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2138, allocations: 0.7759 MB / 379.8 MB, free: 420 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.2138, allocations: 4 kB / 379.8 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.2653/0.4791, allocations: 2.384 MB / 382.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.4792, allocations: 8.188 kB / 382.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.4792, allocations: 11.78 kB / 382.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.4814, allocations: 0.7102 MB / 382.9 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.4824, allocations: 240.4 kB / 383.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.4933, allocations: 7.996 MB / 391.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4947, allocations: 83.47 kB / 391.2 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.4949, allocations: 45.97 kB / 391.3 MB, free: 45.83 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 (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%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.4963, allocations: 0.6294 MB / 391.9 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.4968, allocations: 143.9 kB / 392 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.5, allocations: 1.906 MB / 393.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.5001, allocations: 11.83 kB / 393.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5001, allocations: 4.125 kB / 394 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5001, allocations: 5.25 kB / 394 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.507, allocations: 4.025 MB / 398 MB, free: 43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.507, allocations: 0 / 398 MB, free: 43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.5078, allocations: 192.7 kB / 398.2 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.5088, allocations: 466 kB / 398.6 MB, free: 42.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.5089, allocations: 27.83 kB / 398.7 MB, free: 42.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.5136, allocations: 6.148 MB / 404.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.5137, allocations: 0.9375 kB / 404.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.5175, allocations: 2.789 MB / 407.6 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/0.5183, allocations: 364.9 kB / 407.9 MB, free: 34.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.5185, allocations: 20 kB / 408 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.5191, allocations: 83.91 kB / 408 MB, free: 34.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.5193, allocations: 76.83 kB / 408.1 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.5194, allocations: 35.3 kB / 408.2 MB, free: 34.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.5208, allocations: 0.9503 MB / 409.1 MB, free: 33.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5208, allocations: 0 / 409.1 MB, free: 33.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001813/0.5226, allocations: 434.6 kB / 409.5 MB, free: 33.2 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 (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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003139/0.5229, allocations: 133.6 kB / 409.7 MB, free: 33.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.5261, allocations: 2.012 MB / 411.7 MB, free: 31.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5261, allocations: 5.875 kB / 411.7 MB, free: 31.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.5279, allocations: 1.356 MB / 413 MB, free: 29.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.5301, allocations: 362.9 kB / 413.4 MB, free: 29.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00804/0.5382, allocations: 4.807 MB / 418.2 MB, free: 24.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.5397, allocations: 1.677 MB / 419.9 MB, free: 22.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/0.5403, allocations: 103.4 kB / 420 MB, free: 22.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.926e-06/0.5403, allocations: 0 / 420 MB, free: 22.59 MB / 318.1 MB Notification: Performance of Templates: time 0.06511/0.6054, allocations: 52.27 MB / 472.2 MB, free: 2.211 MB / 350.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++ 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.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