Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 96.92 kB / 17.58 MB, free: 5.801 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.001063/0.001063, allocations: 182 kB / 18.48 MB, free: 5.254 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.975/1.975, allocations: 205.4 MB / 224.6 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.0005905/0.000591, allocations: 12 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 47.57 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0106/0.1372, allocations: 8.502 MB / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009679/0.1469, allocations: 3.271 MB / 340.8 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.1494, allocations: 39.81 kB / 340.8 MB, free: 8.207 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.1516, allocations: 0.5398 MB / 341.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.1549, allocations: 0.6954 MB / 342 MB, free: 6.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.1564, allocations: 319.4 kB / 342.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004381/0.1607, allocations: 2.748 MB / 345.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.1626, allocations: 1.272 MB / 346.4 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.1648, allocations: 0.926 MB / 347.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.1674, allocations: 1.319 MB / 348.6 MB, free: 340 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.1678, allocations: 143.9 kB / 348.8 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.169, allocations: 343.6 kB / 349.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009295/0.1699, allocations: 0.7866 MB / 349.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.1708, allocations: 0.5081 MB / 350.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.1746, allocations: 3.389 MB / 353.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.1747, allocations: 0 / 353.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1747, allocations: 0 / 353.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.1748, allocations: 0 / 353.8 MB, free: 11.15 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006958/0.1818, allocations: 2.71 MB / 356.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.1819, allocations: 12.03 kB / 356.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.183, allocations: 324.3 kB / 356.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.1862, allocations: 1.537 MB / 358.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.1864, allocations: 152 kB / 358.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.1867, allocations: 203.9 kB / 358.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/0.1925, allocations: 2.698 MB / 361.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.146e-05/0.1926, allocations: 11.91 kB / 361.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.1928, allocations: 83.94 kB / 361.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.193, allocations: 95.92 kB / 361.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.1977, allocations: 2.291 MB / 363.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.2138, allocations: 8.263 MB / 372.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.2171, allocations: 1.644 MB / 373.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.2191, allocations: 1.101 MB / 374.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.2194, allocations: 126 kB / 375 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.2195, allocations: 51.55 kB / 375.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.621e-06/0.2195, allocations: 0 / 375.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2606/0.4801, allocations: 6.238 MB / 381.3 MB, free: 49.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.4802, allocations: 65.09 kB / 381.4 MB, free: 49.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/0.4844, allocations: 2.146 MB / 383.5 MB, free: 49.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002945/0.4847, allocations: 51.72 kB / 383.6 MB, free: 49.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/0.4857, allocations: 1.105 MB / 384.7 MB, free: 48.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.4861, allocations: 454.5 kB / 385.1 MB, free: 48.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.4862, allocations: 28.97 kB / 385.1 MB, free: 48.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4864, allocations: 365.3 kB / 385.5 MB, free: 48.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4879, allocations: 0.7632 MB / 386.2 MB, free: 48.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.4894, allocations: 1.016 MB / 387.3 MB, free: 47.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.491, allocations: 0.9059 MB / 388.2 MB, free: 47.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.491, allocations: 4.859 kB / 388.2 MB, free: 47.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006074/0.4971, allocations: 2.773 MB / 390.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.4972, allocations: 10.47 kB / 391 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.4972, allocations: 7.312 kB / 391 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.4992, allocations: 0.7909 MB / 391.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.5004, allocations: 278.3 kB / 392 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.5109, allocations: 8.728 MB / 400.8 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.5125, allocations: 104 kB / 400.9 MB, free: 40.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.5127, allocations: 55.33 kB / 400.9 MB, free: 40.58 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001609/0.5143, allocations: 0.7401 MB / 401.7 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.5147, allocations: 198.1 kB / 401.8 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.5189, allocations: 2.511 MB / 404.4 MB, free: 38.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.519, allocations: 14.62 kB / 404.4 MB, free: 38.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.519, allocations: 7.219 kB / 404.4 MB, free: 38.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.519, allocations: 7.969 kB / 404.4 MB, free: 38.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007133/0.5262, allocations: 4.968 MB / 409.4 MB, free: 33.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5262, allocations: 0 / 409.4 MB, free: 33.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/0.5271, allocations: 227.8 kB / 409.6 MB, free: 33.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.5285, allocations: 0.6458 MB / 410.2 MB, free: 33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.5286, allocations: 35.97 kB / 410.3 MB, free: 32.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006617/0.5353, allocations: 7.925 MB / 418.2 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5353, allocations: 4.031 kB / 418.2 MB, free: 24.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/0.5405, allocations: 3.55 MB / 421.7 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.5416, allocations: 450.4 kB / 422.2 MB, free: 20.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/0.5423, allocations: 31.98 kB / 422.2 MB, free: 20.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.5437, allocations: 95.86 kB / 422.3 MB, free: 20.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.5441, allocations: 104.8 kB / 422.4 MB, free: 20.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.5443, allocations: 39.97 kB / 422.4 MB, free: 20.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002718/0.547, allocations: 1.508 MB / 423.9 MB, free: 18.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.547, allocations: 0 / 423.9 MB, free: 18.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002324/0.5493, allocations: 0.5248 MB / 424.5 MB, free: 18.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.5504, allocations: 424.5 kB / 424.9 MB, free: 17.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003718/0.5542, allocations: 2.39 MB / 427.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5542, allocations: 4 kB / 427.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.5564, allocations: 1.611 MB / 428.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.5599, allocations: 442.2 kB / 429.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009514/0.5695, allocations: 6.078 MB / 435.4 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.5715, allocations: 1.924 MB / 437.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/0.5722, allocations: 143.4 kB / 437.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5722, allocations: 0 / 437.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of Templates: time 0.08951/0.6617, allocations: 63.36 MB / 0.4891 GB, free: 5.66 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o] Error 1