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.0008925/0.0008925, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001121/0.001121, allocations: 177.3 kB / 18.86 MB, free: 4.906 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.294/2.294, 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.000615/0.0006152, allocations: 19.94 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.145, allocations: 47.56 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01407/0.1591, allocations: 9.032 MB / 338.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1692, allocations: 3.426 MB / 342.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.1717, allocations: 35.81 kB / 342.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.175, allocations: 0.5828 MB / 342.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006554/0.1816, allocations: 0.7461 MB / 343.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.1839, allocations: 403.5 kB / 343.8 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006732/0.1906, allocations: 3.052 MB / 346.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.1943, allocations: 1.47 MB / 348.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.1971, allocations: 0.914 MB / 349.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.2007, allocations: 1.366 MB / 350.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.202, allocations: 140 kB / 350.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.2047, allocations: 411.5 kB / 351.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.2067, allocations: 0.7903 MB / 352 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003977/0.2107, allocations: 1.287 MB / 353.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006308/0.2171, allocations: 3.389 MB / 356.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.2171, allocations: 4 kB / 356.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.2171, allocations: 7.938 kB / 356.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002031/0.2174, allocations: 0 / 356.6 MB, free: 8.574 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.009249/0.2266, allocations: 2.683 MB / 359.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.2267, allocations: 8.031 kB / 359.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.2289, allocations: 337.2 kB / 359.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/0.2341, allocations: 1.607 MB / 361.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.2344, allocations: 152 kB / 361.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.2354, allocations: 199.9 kB / 361.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/0.2439, allocations: 2.718 MB / 364.3 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.2441, allocations: 4 kB / 364.3 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006432/0.2448, allocations: 80 kB / 364.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.245, allocations: 99.92 kB / 364.5 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006374/0.2514, allocations: 2.295 MB / 366.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/0.2745, allocations: 8.271 MB / 375.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.2784, allocations: 1.646 MB / 376.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/0.2809, allocations: 1.11 MB / 377.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.2812, allocations: 126 kB / 378 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.2813, allocations: 47.5 kB / 378 MB, free: 2.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 6.062e-06/0.2813, allocations: 4 kB / 378 MB, free: 2.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.3023/0.5837, allocations: 6.268 MB / 384.3 MB, free: 38.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5838, allocations: 66.69 kB / 384.3 MB, free: 38.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005532/0.5893, allocations: 2.166 MB / 386.5 MB, free: 38.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.5899, allocations: 48.05 kB / 386.6 MB, free: 38.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.5911, allocations: 1.1 MB / 387.7 MB, free: 38.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007288/0.5919, allocations: 460.3 kB / 388.1 MB, free: 37.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.5922, allocations: 112.9 kB / 388.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5924, allocations: 361.8 kB / 388.6 MB, free: 37.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.5943, allocations: 0.7719 MB / 389.3 MB, free: 37.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.5964, allocations: 1.023 MB / 390.4 MB, free: 37.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.6003, allocations: 1.886 MB / 392.2 MB, free: 36.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.6004, allocations: 5.938 kB / 392.3 MB, free: 36.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006777/0.6072, allocations: 2.785 MB / 395 MB, free: 35.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.6072, allocations: 8.094 kB / 395 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.6072, allocations: 6.656 kB / 395.1 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.6096, allocations: 0.7868 MB / 395.8 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.611, allocations: 285.1 kB / 396.1 MB, free: 35.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.6228, allocations: 8.76 MB / 404.9 MB, free: 30.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.6249, allocations: 99.77 kB / 405 MB, free: 30.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.6251, allocations: 56.88 kB / 405 MB, free: 30.02 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 (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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001802/0.6269, allocations: 0.7334 MB / 405.8 MB, free: 29.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006657/0.6276, allocations: 208.4 kB / 406 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/0.6322, allocations: 2.514 MB / 408.5 MB, free: 27.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/0.6322, allocations: 12 kB / 408.5 MB, free: 27.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.6323, allocations: 15.72 kB / 408.5 MB, free: 27.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.6323, allocations: 7.969 kB / 408.5 MB, free: 27.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009326/0.6416, allocations: 4.97 MB / 413.5 MB, free: 22.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.6417, allocations: 0 / 413.5 MB, free: 22.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/0.6427, allocations: 231.3 kB / 413.7 MB, free: 21.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.6444, allocations: 0.6468 MB / 414.4 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.6446, allocations: 39.97 kB / 414.4 MB, free: 21.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008239/0.6528, allocations: 7.916 MB / 422.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6529, allocations: 3.562 kB / 422.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/0.6593, allocations: 3.571 MB / 425.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.661, allocations: 445 kB / 426.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003898/0.6614, allocations: 32 kB / 426.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.6624, allocations: 95.89 kB / 426.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.6628, allocations: 102.4 kB / 426.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.6629, allocations: 43 kB / 426.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002245/0.6651, allocations: 1.523 MB / 428.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.6651, allocations: 4 kB / 428.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002871/0.668, allocations: 0.528 MB / 428.6 MB, free: 6.586 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 (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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.6695, allocations: 460.1 kB / 429.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004559/0.674, allocations: 2.401 MB / 431.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6741, allocations: 384 / 431.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.6767, allocations: 1.616 MB / 433.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.68, allocations: 419.8 kB / 433.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.6944, allocations: 6.34 MB / 439.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.6972, allocations: 1.937 MB / 441.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/0.6982, allocations: 139.4 kB / 441.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of SimCode: time 2.275e-06/0.6982, allocations: 0 / 441.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of Templates: time 0.1278/0.826, allocations: 63.39 MB / 0.4935 GB, free: 9.738 MB / 398.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++ -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_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