Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 90.03 kB / 17.95 MB, free: 5.629 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.001323/0.001323, allocations: 181.2 kB / 18.86 MB, free: 4.773 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.158/2.158, 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.0005923/0.000592, allocations: 16 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1694, allocations: 47.57 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.02184/0.1913, allocations: 14.22 MB / 343.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0189/0.2103, allocations: 5 MB / 348.8 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006597/0.217, allocations: 83.62 kB / 348.9 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005838/0.2229, allocations: 0.921 MB / 349.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008521/0.2315, allocations: 1.123 MB / 351 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.2365, allocations: 0.8264 MB / 351.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.247, allocations: 3.748 MB / 355.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008121/0.2552, allocations: 2.696 MB / 358.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004584/0.2599, allocations: 1.225 MB / 359.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005156/0.2651, allocations: 1.653 MB / 361.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.2669, allocations: 192 kB / 361.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/0.2706, allocations: 415.7 kB / 361.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.2733, allocations: 0.8055 MB / 362.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005415/0.2788, allocations: 1.684 MB / 364.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008786/0.2876, allocations: 5.076 MB / 369.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.2877, allocations: 0 / 369.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.979e-06/0.2877, allocations: 0 / 369.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003035/0.288, allocations: 0 / 369.3 MB, free: 11.88 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.0122/0.3002, allocations: 3.568 MB / 372.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.3003, allocations: 12.03 kB / 372.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/0.3044, allocations: 0.6173 MB / 373.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.3108, allocations: 2.101 MB / 375.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.3112, allocations: 246.8 kB / 375.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.3124, allocations: 307.9 kB / 376.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3233, allocations: 4.047 MB / 380.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.3235, allocations: 7.844 kB / 380.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.3239, allocations: 128 kB / 380.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.3241, allocations: 150.2 kB / 380.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3292/0.6533, allocations: 3.381 MB / 383.8 MB, free: 30.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.6805, allocations: 13.38 MB / 397.2 MB, free: 25.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00459/0.6852, allocations: 3.97 MB / 401.2 MB, free: 22.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.6871, allocations: 1.007 MB / 402.2 MB, free: 22.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005089/0.6922, allocations: 2.666 MB / 404.8 MB, free: 20.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.6923, allocations: 48.28 kB / 404.9 MB, free: 20.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 3.136e-06/0.6923, allocations: 0 / 404.9 MB, free: 20.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01102/0.7033, allocations: 5.997 MB / 410.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.7034, allocations: 72.28 kB / 411 MB, free: 16.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.706, allocations: 1.887 MB / 412.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.7061, allocations: 49.7 kB / 412.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007721/0.7069, allocations: 1.5 MB / 414.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.7072, allocations: 496.9 kB / 414.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.7074, allocations: 150.3 kB / 415 MB, free: 13.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.7075, allocations: 301.1 kB / 415.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009691/0.7084, allocations: 0.7652 MB / 416.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.7098, allocations: 1.382 MB / 417.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.7122, allocations: 2.311 MB / 419.8 MB, free: 8.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.7122, allocations: 12 kB / 419.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003496/0.7157, allocations: 2.478 MB / 422.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.7157, allocations: 12 kB / 422.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.7158, allocations: 25.19 kB / 422.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.7162, allocations: 117.3 kB / 422.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.7178, allocations: 496.5 kB / 422.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.7187, allocations: 1.311 MB / 424.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.7203, allocations: 115.9 kB / 424.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7204, allocations: 83.98 kB / 424.4 MB, free: 3.445 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (232): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001897/0.7223, allocations: 0.9799 MB / 425.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.7226, allocations: 213.4 kB / 425.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.7254, allocations: 1.957 MB / 427.6 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.7254, allocations: 15.98 kB / 427.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7254, allocations: 0 / 427.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.7254, allocations: 7.828 kB / 427.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009196/0.7346, allocations: 5.004 MB / 432.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7347, allocations: 0 / 432.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.7361, allocations: 325.5 kB / 432.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.7365, allocations: 94.53 kB / 433 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.7366, allocations: 31.92 kB / 433 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.7382, allocations: 1.282 MB / 434.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.7382, allocations: 4 kB / 434.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/0.744, allocations: 3.089 MB / 437.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.7455, allocations: 466.4 kB / 437.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.7457, allocations: 26.19 kB / 437.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/0.7467, allocations: 83.89 kB / 438 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.7469, allocations: 97.19 kB / 438.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-05/0.747, allocations: 36 kB / 438.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002639/0.7497, allocations: 1.281 MB / 439.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7497, allocations: 0 / 439.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002548/0.7522, allocations: 0.5354 MB / 439.9 MB, free: 3.691 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(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.0005365/0.7528, allocations: 169.9 kB / 440.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004074/0.7569, allocations: 2.209 MB / 442.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.7569, allocations: 0 / 442.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.7586, allocations: 1.183 MB / 443.5 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.7615, allocations: 489.9 kB / 443.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.7745, allocations: 7.115 MB / 451.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.7768, allocations: 2.224 MB / 453.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/0.7777, allocations: 167.4 kB / 453.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7777, allocations: 0 / 453.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Templates: time 0.1387/0.9164, allocations: 85.31 MB / 0.5261 GB, free: 0.6641 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1