Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001265/0.001265, allocations: 190 kB / 18.72 MB, free: 4.781 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.946/1.946, 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.001369/0.001369, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01308/0.1641, allocations: 9.588 MB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008853/0.1731, allocations: 3.039 MB / 339.9 MB, free: 8.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.1759, allocations: 43.81 kB / 339.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.1788, allocations: 0.5516 MB / 340.5 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.183, allocations: 0.6604 MB / 341.1 MB, free: 6.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1845, allocations: 331.7 kB / 341.5 MB, free: 6.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005125/0.1896, allocations: 2.764 MB / 344.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.1925, allocations: 1.406 MB / 345.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.1952, allocations: 0.9494 MB / 346.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.1978, allocations: 1.268 MB / 347.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004826/0.1983, allocations: 184 kB / 348 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000965/0.1993, allocations: 275.8 kB / 348.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008206/0.2001, allocations: 0.6698 MB / 349 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.2017, allocations: 1.158 MB / 350.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.2047, allocations: 2.989 MB / 353.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2047, allocations: 0 / 353.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2048, allocations: 0 / 353.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.961e-05/0.2048, allocations: 0 / 353.1 MB, free: 10.89 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006701/0.2115, allocations: 2.583 MB / 355.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.2116, allocations: 12.03 kB / 355.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.2125, allocations: 258.1 kB / 356 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.2149, allocations: 1.256 MB / 357.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.215, allocations: 144.2 kB / 357.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.2153, allocations: 204 kB / 357.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.22, allocations: 2.411 MB / 360 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/0.2201, allocations: 15.84 kB / 360 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.2203, allocations: 83.98 kB / 360.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.2204, allocations: 83.69 kB / 360.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.2242, allocations: 1.966 MB / 362.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.2388, allocations: 7.843 MB / 370 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.2408, allocations: 1.224 MB / 371.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.2425, allocations: 0.944 MB / 372.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.2428, allocations: 118.1 kB / 372.2 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.2429, allocations: 43.56 kB / 372.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.697e-06/0.2429, allocations: 0 / 372.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01386/0.2567, allocations: 5.878 MB / 378.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.2569, allocations: 60.41 kB / 378.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.329/0.5858, allocations: 1.303 MB / 379.5 MB, free: 51.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00044/0.5863, allocations: 43.08 kB / 379.6 MB, free: 51.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.5879, allocations: 0.92 MB / 380.5 MB, free: 51.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007118/0.5886, allocations: 393 kB / 380.9 MB, free: 51.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007534/0.5894, allocations: 250.8 kB / 381.1 MB, free: 51.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002933/0.5897, allocations: 356.8 kB / 381.5 MB, free: 51.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.5915, allocations: 0.6369 MB / 382.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.5937, allocations: 1.002 MB / 383.1 MB, free: 50.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.5968, allocations: 1.731 MB / 384.8 MB, free: 49.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.5968, allocations: 3.375 kB / 384.8 MB, free: 49.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005833/0.6026, allocations: 2.247 MB / 387.1 MB, free: 48.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.6027, allocations: 9.453 kB / 387.1 MB, free: 48.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/0.6028, allocations: 14.12 kB / 387.1 MB, free: 48.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.6046, allocations: 0.4895 MB / 387.6 MB, free: 48.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.6059, allocations: 299.1 kB / 387.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.6152, allocations: 6.531 MB / 394.4 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.6171, allocations: 87.42 kB / 394.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/0.6175, allocations: 54.53 kB / 394.6 MB, free: 42.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002057/0.6196, allocations: 0.6014 MB / 395.2 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/0.6203, allocations: 149.8 kB / 395.3 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.6246, allocations: 1.967 MB / 397.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.6246, allocations: 12.97 kB / 397.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/0.6247, allocations: 3.938 kB / 397.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6247, allocations: 11.28 kB / 397.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/0.6343, allocations: 4.131 MB / 401.4 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.6343, allocations: 2.906 kB / 401.4 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.6351, allocations: 192.5 kB / 401.6 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.6365, allocations: 0.5315 MB / 402.1 MB, free: 39.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/0.6366, allocations: 29.86 kB / 402.2 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007733/0.6444, allocations: 8.038 MB / 410.2 MB, free: 32.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.6444, allocations: 8 kB / 410.2 MB, free: 32.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.6493, allocations: 2.857 MB / 413.1 MB, free: 29.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.6505, allocations: 347.3 kB / 413.4 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005737/0.6511, allocations: 36.48 kB / 413.5 MB, free: 29.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.6523, allocations: 67.92 kB / 413.5 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.6526, allocations: 99.25 kB / 413.6 MB, free: 29.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.6527, allocations: 24 kB / 413.6 MB, free: 29.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002011/0.6547, allocations: 0.8917 MB / 414.5 MB, free: 28.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6548, allocations: 0 / 414.5 MB, free: 28.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0026/0.6574, allocations: 439.9 kB / 415 MB, free: 27.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,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.0005255/0.6579, allocations: 179.1 kB / 415.1 MB, free: 27.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.6615, allocations: 2.221 MB / 417.4 MB, free: 25.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.6615, allocations: 0 / 417.4 MB, free: 25.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.6636, allocations: 1.522 MB / 418.9 MB, free: 23.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.6663, allocations: 388.4 kB / 419.3 MB, free: 23.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/0.6751, allocations: 5.007 MB / 424.3 MB, free: 18.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.6764, allocations: 1.641 MB / 425.9 MB, free: 16.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/0.677, allocations: 103.4 kB / 426 MB, free: 16.47 MB / 318.1 MB Notification: Performance of SimCode: time 1.583e-06/0.677, allocations: 4 kB / 426 MB, free: 16.46 MB / 318.1 MB Notification: Performance of Templates: time 0.09886/0.7758, allocations: 70.67 MB / 496.7 MB, free: 9.645 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_SteinmetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.o] Error 1