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.001935/0.001936, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002285/0.002286, allocations: 194 kB / 18.72 MB, free: 4.762 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.972/1.972, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.002066/0.002066, allocations: 51.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1584, allocations: 46.64 MB / 327.3 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01294/0.1714, allocations: 9.542 MB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009275/0.1807, allocations: 3.46 MB / 340.3 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.1835, allocations: 35.88 kB / 340.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.1863, allocations: 0.5906 MB / 340.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.1905, allocations: 0.7422 MB / 341.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.1923, allocations: 407.5 kB / 342 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005339/0.1977, allocations: 3.044 MB / 345.1 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.2002, allocations: 1.485 MB / 346.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.2027, allocations: 1.035 MB / 347.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/0.2059, allocations: 1.51 MB / 349.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.2065, allocations: 192 kB / 349.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.208, allocations: 463.5 kB / 349.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.2091, allocations: 0.8605 MB / 350.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.2113, allocations: 1.364 MB / 352 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.2154, allocations: 3.472 MB / 355.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2154, allocations: 7.938 kB / 355.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2154, allocations: 0 / 355.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.2156, allocations: 0 / 355.4 MB, free: 8.527 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.008763/0.2244, allocations: 3.15 MB / 358.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.056e-05/0.2245, allocations: 12.03 kB / 358.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.2256, allocations: 325.2 kB / 358.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/0.2295, allocations: 1.603 MB / 360.5 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.2297, allocations: 156 kB / 360.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.2301, allocations: 207.9 kB / 360.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006366/0.2365, allocations: 2.69 MB / 363.6 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/0.2366, allocations: 11.98 kB / 363.6 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.2368, allocations: 80 kB / 363.7 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.237, allocations: 95.92 kB / 363.8 MB, free: 0 / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004574/0.2416, allocations: 2.272 MB / 366 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.2583, allocations: 8.239 MB / 374.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/0.262, allocations: 1.628 MB / 375.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002291/0.2643, allocations: 1.089 MB / 377 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/0.2647, allocations: 130 kB / 377.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.425e-05/0.2648, allocations: 51.44 kB / 377.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.31e-06/0.2649, allocations: 4 kB / 377.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.3503/0.6151, allocations: 6.195 MB / 383.4 MB, free: 50.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.6153, allocations: 69.69 kB / 383.4 MB, free: 50.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006077/0.6214, allocations: 2.155 MB / 385.6 MB, free: 49.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004243/0.6218, allocations: 47.14 kB / 385.6 MB, free: 49.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.6233, allocations: 1.108 MB / 386.7 MB, free: 48.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008401/0.6241, allocations: 459.3 kB / 387.2 MB, free: 48.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006158/0.6247, allocations: 241.1 kB / 387.4 MB, free: 48.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.625, allocations: 360.5 kB / 387.8 MB, free: 48.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.6271, allocations: 0.7563 MB / 388.5 MB, free: 47.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.6293, allocations: 1.01 MB / 389.5 MB, free: 47.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004045/0.6333, allocations: 1.869 MB / 391.4 MB, free: 46.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.6334, allocations: 1.188 kB / 391.4 MB, free: 46.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006964/0.6403, allocations: 2.762 MB / 394.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.6404, allocations: 8.25 kB / 394.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.6405, allocations: 7.375 kB / 394.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.643, allocations: 0.7871 MB / 395 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.6444, allocations: 276.5 kB / 395.2 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.6566, allocations: 8.757 MB / 404 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.659, allocations: 87.89 kB / 404.1 MB, free: 39.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.6592, allocations: 52 kB / 404.1 MB, free: 39.11 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.001805/0.661, allocations: 0.7395 MB / 404.9 MB, free: 38.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00081/0.6618, allocations: 197.6 kB / 405.1 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.6662, allocations: 2.49 MB / 407.6 MB, free: 35.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.6662, allocations: 15.98 kB / 407.6 MB, free: 35.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6663, allocations: 13.22 kB / 407.6 MB, free: 35.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.6663, allocations: 3.984 kB / 407.6 MB, free: 35.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009532/0.6758, allocations: 4.951 MB / 412.5 MB, free: 30.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.6759, allocations: 4 kB / 412.6 MB, free: 30.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/0.6768, allocations: 215.9 kB / 412.8 MB, free: 30.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.6786, allocations: 0.6524 MB / 413.4 MB, free: 29.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.6787, allocations: 39.92 kB / 413.5 MB, free: 29.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/0.6861, allocations: 7.908 MB / 421.4 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6861, allocations: 11.95 kB / 421.4 MB, free: 21.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/0.6923, allocations: 3.522 MB / 424.9 MB, free: 17.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.6939, allocations: 446.5 kB / 425.3 MB, free: 17.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/0.6943, allocations: 28 kB / 425.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6953, allocations: 90.98 kB / 425.4 MB, free: 17.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.6956, allocations: 99.09 kB / 425.5 MB, free: 17.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.6958, allocations: 39.98 kB / 425.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002099/0.6979, allocations: 1.527 MB / 427.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6979, allocations: 0 / 427.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002436/0.7003, allocations: 0.5286 MB / 427.6 MB, free: 15.07 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.001409/0.7017, allocations: 465.9 kB / 428.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004336/0.7061, allocations: 2.373 MB / 430.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.7061, allocations: 0 / 430.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.7087, allocations: 1.596 MB / 432.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.7115, allocations: 430.5 kB / 432.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.7219, allocations: 6.198 MB / 438.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.7239, allocations: 1.932 MB / 440.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.725, allocations: 143.4 kB / 440.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of SimCode: time 2.365e-06/0.725, allocations: 0 / 440.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of Templates: time 0.1144/0.8394, allocations: 63.72 MB / 0.4926 GB, free: 1.977 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++ -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