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.001347/0.001347, allocations: 107.9 kB / 17.81 MB, free: 5.559 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.001326/0.001326, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.961/1.961, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001305/0.001305, allocations: 55.91 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 46.62 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01219/0.161, allocations: 8.805 MB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007858/0.1689, allocations: 2.883 MB / 338.9 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.1714, allocations: 35.81 kB / 339 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.1738, allocations: 0.5403 MB / 339.5 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.1773, allocations: 0.6606 MB / 340.2 MB, free: 7.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1783, allocations: 291.7 kB / 340.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.1825, allocations: 2.775 MB / 343.2 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.1846, allocations: 1.409 MB / 344.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.1867, allocations: 0.9183 MB / 345.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.189, allocations: 1.296 MB / 346.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003556/0.1893, allocations: 168 kB / 347 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008519/0.1902, allocations: 275.8 kB / 347.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008197/0.191, allocations: 0.6892 MB / 348 MB, free: 28 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.1928, allocations: 1.139 MB / 349.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.1959, allocations: 3.044 MB / 352.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.196, allocations: 0 / 352.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.196, allocations: 0 / 352.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.73e-05/0.1961, allocations: 0 / 352.2 MB, free: 11.83 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.006401/0.2025, allocations: 2.575 MB / 354.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.2026, allocations: 12.03 kB / 354.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/0.2034, allocations: 258.1 kB / 355 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.2059, allocations: 1.303 MB / 356.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.206, allocations: 132 kB / 356.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.2064, allocations: 188 kB / 356.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.2112, allocations: 2.402 MB / 359 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.2113, allocations: 3.938 kB / 359 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.2115, allocations: 75.98 kB / 359.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.2116, allocations: 91.42 kB / 359.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.2154, allocations: 2.016 MB / 361.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.2314, allocations: 7.46 MB / 368.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.2335, allocations: 1.279 MB / 369.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.2352, allocations: 0.9042 MB / 370.9 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.2355, allocations: 122 kB / 371 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.2355, allocations: 43.56 kB / 371 MB, free: 8.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.2355, allocations: 0 / 371 MB, free: 8.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01105/0.2466, allocations: 5.001 MB / 376 MB, free: 3.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.2467, allocations: 64.41 kB / 376.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.2496, allocations: 1.376 MB / 377.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.2498, allocations: 41.7 kB / 377.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008942/0.2507, allocations: 0.8969 MB / 378.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.251, allocations: 350.9 kB / 378.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004177/0.2514, allocations: 222.8 kB / 379 MB, free: 432 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.2517, allocations: 353.9 kB / 379.3 MB, free: 72 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3323/0.584, allocations: 0.6296 MB / 379.9 MB, free: 52.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.5859, allocations: 0.9236 MB / 380.8 MB, free: 51.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/0.5895, allocations: 1.639 MB / 382.5 MB, free: 50.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.5895, allocations: 5.625 kB / 382.5 MB, free: 50.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006543/0.5961, allocations: 2.389 MB / 384.9 MB, free: 50.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.5962, allocations: 8.906 kB / 384.9 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.5962, allocations: 12.44 kB / 384.9 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.5988, allocations: 0.7097 MB / 385.6 MB, free: 49.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.6, allocations: 233.3 kB / 385.8 MB, free: 49.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.6143, allocations: 8.027 MB / 393.9 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.6163, allocations: 76.23 kB / 393.9 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.6165, allocations: 55.19 kB / 394 MB, free: 45.25 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.00184/0.6183, allocations: 0.6233 MB / 394.6 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/0.619, allocations: 147.4 kB / 394.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.6231, allocations: 1.905 MB / 396.7 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.6231, allocations: 11.62 kB / 396.7 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6231, allocations: 3.938 kB / 396.7 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.6231, allocations: 3.797 kB / 396.7 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007655/0.6308, allocations: 4.006 MB / 400.7 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.6309, allocations: 4.031 kB / 400.7 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.6317, allocations: 184.1 kB / 400.9 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.6329, allocations: 464.9 kB / 401.3 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.633, allocations: 35.12 kB / 401.4 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/0.6384, allocations: 6.155 MB / 407.5 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6385, allocations: 0 / 407.5 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.6429, allocations: 2.773 MB / 410.3 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.644, allocations: 355.2 kB / 410.6 MB, free: 32.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.6442, allocations: 24 kB / 410.7 MB, free: 32.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.645, allocations: 71.91 kB / 410.7 MB, free: 32.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.6453, allocations: 90.88 kB / 410.8 MB, free: 32.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.6454, allocations: 27.98 kB / 410.9 MB, free: 32.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.6468, allocations: 0.9543 MB / 411.8 MB, free: 31.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6469, allocations: 0 / 411.8 MB, free: 31.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002043/0.6489, allocations: 433.3 kB / 412.2 MB, free: 30.66 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.0004631/0.6494, allocations: 177.4 kB / 412.4 MB, free: 30.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003306/0.6527, allocations: 2.002 MB / 414.4 MB, free: 28.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6527, allocations: 7.828 kB / 414.4 MB, free: 28.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.6545, allocations: 1.336 MB / 415.7 MB, free: 27.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.6568, allocations: 359.4 kB / 416.1 MB, free: 26.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007111/0.6639, allocations: 4.882 MB / 421 MB, free: 21.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.6651, allocations: 1.669 MB / 422.6 MB, free: 20.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.6656, allocations: 99.41 kB / 422.7 MB, free: 20.01 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6657, allocations: 0 / 422.7 MB, free: 20.01 MB / 318.1 MB Notification: Performance of Templates: time 0.07697/0.7426, allocations: 52.57 MB / 475.3 MB, free: 15.33 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