Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.72 kB / 17.96 MB, free: 5.637 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.001348/0.001348, allocations: 175.8 kB / 18.86 MB, free: 4.773 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.102/2.102, allocations: 205.4 MB / 225 MB, free: 13.07 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.0007106/0.0007106, allocations: 11.98 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1434, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01025/0.1537, allocations: 8.24 MB / 337.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.1613, allocations: 2.821 MB / 340.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.1634, allocations: 39.81 kB / 340.7 MB, free: 8.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.1657, allocations: 0.5247 MB / 341.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.1687, allocations: 0.6372 MB / 341.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.1696, allocations: 291.6 kB / 342.2 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.173, allocations: 2.573 MB / 344.7 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.1749, allocations: 1.394 MB / 346.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.1765, allocations: 0.7779 MB / 346.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.1783, allocations: 1.109 MB / 348 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.1786, allocations: 116 kB / 348.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007436/0.1794, allocations: 223.8 kB / 348.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.1801, allocations: 0.584 MB / 348.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.1813, allocations: 1.036 MB / 350 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.184, allocations: 2.84 MB / 352.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.184, allocations: 4 kB / 352.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.184, allocations: 0 / 352.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.1841, allocations: 0 / 352.8 MB, free: 12.41 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004364/0.1884, allocations: 2.107 MB / 354.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1885, allocations: 8.031 kB / 354.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006684/0.1892, allocations: 254.2 kB / 355.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.1912, allocations: 1.223 MB / 356.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1914, allocations: 139.9 kB / 356.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.1917, allocations: 184 kB / 356.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.1961, allocations: 2.378 MB / 359.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.1961, allocations: 0 / 359.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.1963, allocations: 75.98 kB / 359.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.1965, allocations: 95.5 kB / 359.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.2002, allocations: 1.981 MB / 361.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.212, allocations: 7.171 MB / 368.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.2139, allocations: 1.292 MB / 369.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.2155, allocations: 0.8815 MB / 370.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.2157, allocations: 126 kB / 370.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.2158, allocations: 39.56 kB / 370.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.046e-06/0.2158, allocations: 0 / 370.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01327/0.2291, allocations: 5.999 MB / 376.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.2292, allocations: 60.41 kB / 376.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.231, allocations: 1.218 MB / 378 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-05/0.2311, allocations: 45.7 kB / 378.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.2318, allocations: 0.8652 MB / 378.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.2321, allocations: 362.8 kB / 379.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.2322, allocations: 105.7 kB / 379.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2324, allocations: 357.9 kB / 379.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009713/0.2334, allocations: 0.6155 MB / 380.4 MB, free: 236 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3025/0.5359, allocations: 0.9305 MB / 381.3 MB, free: 51.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/0.5397, allocations: 1.667 MB / 383 MB, free: 50.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.5397, allocations: 3.312 kB / 383 MB, free: 50.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004971/0.5447, allocations: 2.239 MB / 385.2 MB, free: 49.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.5447, allocations: 10.53 kB / 385.2 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.5448, allocations: 8.938 kB / 385.2 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.5461, allocations: 477.4 kB / 385.7 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.5473, allocations: 271.9 kB / 385.9 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008437/0.5558, allocations: 6.429 MB / 392.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.5574, allocations: 86.19 kB / 392.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.5576, allocations: 52.03 kB / 392.5 MB, free: 44.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.5595, allocations: 0.5986 MB / 393.1 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007296/0.5602, allocations: 137.8 kB / 393.2 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/0.5651, allocations: 2.046 MB / 395.3 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.5651, allocations: 9.703 kB / 395.3 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5651, allocations: 6.938 kB / 395.3 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.5651, allocations: 5.578 kB / 395.3 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007461/0.5726, allocations: 4.233 MB / 399.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.5726, allocations: 7.875 kB / 399.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.5733, allocations: 185.8 kB / 399.7 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.5745, allocations: 0.529 MB / 400.3 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.5746, allocations: 35.69 kB / 400.3 MB, free: 41.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006863/0.5815, allocations: 7.909 MB / 408.2 MB, free: 34.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5815, allocations: 7.156 kB / 408.2 MB, free: 34.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/0.5861, allocations: 2.971 MB / 411.2 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.5868, allocations: 351.2 kB / 411.5 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.587, allocations: 28 kB / 411.6 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/0.5878, allocations: 79.92 kB / 411.6 MB, free: 31.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.588, allocations: 96.75 kB / 411.7 MB, free: 31.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.5881, allocations: 35.98 kB / 411.8 MB, free: 31.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.5894, allocations: 0.8304 MB / 412.6 MB, free: 30.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5894, allocations: 0 / 412.6 MB, free: 30.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001863/0.5912, allocations: 416.9 kB / 413 MB, free: 30.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (89): * Single equations (assignments): 84 * 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,6,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.0003962/0.5917, allocations: 184.8 kB / 413.2 MB, free: 29.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003363/0.595, allocations: 2.172 MB / 415.4 MB, free: 27.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.595, allocations: 0 / 415.4 MB, free: 27.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.597, allocations: 1.496 MB / 416.8 MB, free: 26.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.5994, allocations: 369.4 kB / 417.2 MB, free: 25.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.6074, allocations: 4.929 MB / 422.1 MB, free: 20.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.609, allocations: 1.622 MB / 423.8 MB, free: 19.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.6095, allocations: 103.4 kB / 423.9 MB, free: 18.99 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6095, allocations: 0 / 423.9 MB, free: 18.99 MB / 318.1 MB Notification: Performance of Templates: time 0.0942/0.7037, allocations: 67.68 MB / 491.5 MB, free: 15.17 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterCalcHelperMain.o] Error 1