Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001731/0.001731, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.046/2.046, 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.00186/0.00186, allocations: 55.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1801, allocations: 46.62 MB / 327.3 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.02039/0.2005, allocations: 10.8 MB / 338.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2142, allocations: 3.635 MB / 341.7 MB, free: 6.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004595/0.2189, allocations: 55.69 kB / 341.7 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004826/0.2238, allocations: 0.7147 MB / 342.5 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.2306, allocations: 0.7771 MB / 343.2 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.2333, allocations: 411.6 kB / 343.6 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008739/0.2421, allocations: 3.266 MB / 346.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/0.2483, allocations: 2.251 MB / 349.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.253, allocations: 1.202 MB / 350.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005443/0.2585, allocations: 1.681 MB / 352 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.2605, allocations: 232 kB / 352.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.263, allocations: 347.7 kB / 352.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.2649, allocations: 0.9308 MB / 353.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003702/0.2686, allocations: 1.524 MB / 355.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.2748, allocations: 4.026 MB / 359.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.2749, allocations: 0 / 359.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2749, allocations: 4 kB / 359.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002238/0.2751, allocations: 0 / 359.1 MB, free: 4.863 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.01237/0.2875, allocations: 3.382 MB / 362.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.597e-05/0.2876, allocations: 8.031 kB / 362.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.2891, allocations: 345.1 kB / 362.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.2932, allocations: 1.69 MB / 364.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.2935, allocations: 197.3 kB / 364.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/0.294, allocations: 255.7 kB / 364.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/0.3018, allocations: 3.275 MB / 368.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.52e-05/0.3019, allocations: 7.984 kB / 368.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.3022, allocations: 100 kB / 368.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.3024, allocations: 128.9 kB / 368.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/0.3079, allocations: 2.748 MB / 371.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3726/0.6805, allocations: 10.51 MB / 381.7 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.6831, allocations: 1.356 MB / 383.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.6846, allocations: 0.7749 MB / 383.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.6849, allocations: 208.4 kB / 384 MB, free: 46.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.685, allocations: 46.03 kB / 384.1 MB, free: 46.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 6.192e-06/0.685, allocations: 0 / 384.1 MB, free: 46.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01941/0.7044, allocations: 7.023 MB / 391.1 MB, free: 43.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.7046, allocations: 64.09 kB / 391.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.7077, allocations: 1.799 MB / 393 MB, free: 43.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.7078, allocations: 49.61 kB / 393 MB, free: 43.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009126/0.7088, allocations: 1.276 MB / 394.3 MB, free: 42.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.7092, allocations: 425 kB / 394.7 MB, free: 41.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/0.7097, allocations: 292 kB / 395 MB, free: 41.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.7098, allocations: 303.6 kB / 395.3 MB, free: 41.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.7111, allocations: 0.7747 MB / 396.1 MB, free: 41.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.7127, allocations: 1.299 MB / 397.4 MB, free: 40.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.7152, allocations: 2.216 MB / 399.6 MB, free: 38.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.7152, allocations: 3.938 kB / 399.6 MB, free: 38.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004123/0.7194, allocations: 2.473 MB / 402.1 MB, free: 37.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.7194, allocations: 11.88 kB / 402.1 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.7194, allocations: 19.75 kB / 402.1 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.7201, allocations: 246.2 kB / 402.3 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.7214, allocations: 414.1 kB / 402.7 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.7237, allocations: 3.004 MB / 405.7 MB, free: 34.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.7256, allocations: 124.4 kB / 405.9 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.7257, allocations: 82.67 kB / 405.9 MB, free: 34.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001871/0.7276, allocations: 0.8189 MB / 406.8 MB, free: 33.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.7281, allocations: 186.2 kB / 406.9 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.7311, allocations: 2.038 MB / 409 MB, free: 32.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.7312, allocations: 15.98 kB / 409 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7312, allocations: 0 / 409 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7312, allocations: 3.984 kB / 409 MB, free: 32.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006958/0.7382, allocations: 4.761 MB / 413.8 MB, free: 27.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7382, allocations: 4 kB / 413.8 MB, free: 27.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/0.7392, allocations: 263.9 kB / 414 MB, free: 27.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/0.7397, allocations: 206.9 kB / 414.2 MB, free: 27.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.7398, allocations: 24 kB / 414.3 MB, free: 27.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.7419, allocations: 2.976 MB / 417.2 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.742, allocations: 4.031 kB / 417.2 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/0.7459, allocations: 3.124 MB / 420.4 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.747, allocations: 426.7 kB / 420.8 MB, free: 20.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.7472, allocations: 27.98 kB / 420.8 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/0.7481, allocations: 91.88 kB / 420.9 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.7483, allocations: 84.89 kB / 421 MB, free: 20.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/0.7484, allocations: 35.98 kB / 421 MB, free: 20.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.75, allocations: 1.22 MB / 422.2 MB, free: 18.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.75, allocations: 0 / 422.2 MB, free: 18.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001883/0.7519, allocations: 490.6 kB / 422.7 MB, free: 18.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,1,100.0%), (1,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.0003907/0.7523, allocations: 189.5 kB / 422.9 MB, free: 18.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.7554, allocations: 2.347 MB / 425.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7554, allocations: 0 / 425.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.7569, allocations: 1.331 MB / 426.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.7591, allocations: 463.3 kB / 427 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.7683, allocations: 6.097 MB / 433.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.7699, allocations: 1.974 MB / 435.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008649/0.7708, allocations: 151.3 kB / 435.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7708, allocations: 0 / 435.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of Templates: time 0.1245/0.8952, allocations: 82.56 MB / 0.5057 GB, free: 3.051 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1