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.002233/0.002233, allocations: 108.2 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.002177/0.002177, 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.142/2.142, 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.001403/0.001403, allocations: 51.94 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 46.62 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01988/0.183, allocations: 14.93 MB / 342.2 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1974, allocations: 5.051 MB / 347.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005007/0.2025, allocations: 83.62 kB / 347.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.2072, allocations: 0.9211 MB / 348.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006834/0.2141, allocations: 1.139 MB / 349.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.2172, allocations: 0.8304 MB / 350.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007733/0.225, allocations: 3.744 MB / 354 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004411/0.2294, allocations: 2.727 MB / 356.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.2327, allocations: 1.436 MB / 358.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.2368, allocations: 1.91 MB / 360 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009049/0.2377, allocations: 292 kB / 360.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.2399, allocations: 0.5153 MB / 360.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.2411, allocations: 0.9422 MB / 361.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.2449, allocations: 1.846 MB / 363.6 MB, free: 320 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007589/0.2525, allocations: 5.214 MB / 368.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.2525, allocations: 0 / 368.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.2525, allocations: 0 / 368.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002363/0.2528, allocations: 0 / 368.8 MB, free: 11.09 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.01676/0.2695, allocations: 4.223 MB / 373.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.352e-05/0.2697, allocations: 12.03 kB / 373.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.273, allocations: 0.625 MB / 373.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004782/0.2778, allocations: 2.101 MB / 375.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.2782, allocations: 234.9 kB / 376 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008012/0.279, allocations: 315.8 kB / 376.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3417/0.6207, allocations: 4.037 MB / 380.4 MB, free: 48.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/0.6209, allocations: 4.672 kB / 380.4 MB, free: 48.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.6214, allocations: 131.4 kB / 380.5 MB, free: 48.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.6217, allocations: 143.8 kB / 380.6 MB, free: 48.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.6322, allocations: 3.381 MB / 384 MB, free: 47.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03005/0.6623, allocations: 13.33 MB / 397.4 MB, free: 39.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/0.6673, allocations: 3.968 MB / 401.3 MB, free: 35.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.6691, allocations: 1.002 MB / 402.3 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004904/0.674, allocations: 2.655 MB / 405 MB, free: 32.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.6741, allocations: 55.39 kB / 405 MB, free: 32.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 4.638e-06/0.6741, allocations: 0 / 405 MB, free: 32.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01149/0.6856, allocations: 5.991 MB / 411 MB, free: 29.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.6857, allocations: 64.56 kB / 411.1 MB, free: 29.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.6888, allocations: 1.888 MB / 413 MB, free: 27.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.689, allocations: 49.7 kB / 413 MB, free: 27.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.6898, allocations: 1.504 MB / 414.5 MB, free: 26.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.6902, allocations: 492.5 kB / 415 MB, free: 25.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/0.6907, allocations: 331.2 kB / 415.3 MB, free: 25.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.6908, allocations: 317 kB / 415.6 MB, free: 25.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.6918, allocations: 0.7613 MB / 416.4 MB, free: 24.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.6931, allocations: 1.383 MB / 417.8 MB, free: 22.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.6956, allocations: 2.312 MB / 420.1 MB, free: 20.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.6956, allocations: 8 kB / 420.1 MB, free: 20.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003779/0.6994, allocations: 2.473 MB / 422.6 MB, free: 17.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.6994, allocations: 15.94 kB / 422.6 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.6995, allocations: 23.98 kB / 422.6 MB, free: 17.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.6998, allocations: 114.5 kB / 422.7 MB, free: 17.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.7014, allocations: 499.5 kB / 423.2 MB, free: 17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.7024, allocations: 1.307 MB / 424.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.7042, allocations: 111.8 kB / 424.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.7044, allocations: 80 kB / 424.7 MB, free: 15.38 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.001925/0.7063, allocations: 0.989 MB / 425.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005367/0.7068, allocations: 201.5 kB / 425.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.7099, allocations: 1.965 MB / 427.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7099, allocations: 15.94 kB / 427.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7099, allocations: 4 kB / 427.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.7099, allocations: 7.969 kB / 427.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/0.7176, allocations: 4.992 MB / 432.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.7177, allocations: 4 kB / 432.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.719, allocations: 315.8 kB / 433.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.7193, allocations: 94.52 kB / 433.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.981e-05/0.7194, allocations: 35.92 kB / 433.3 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007974/0.7202, allocations: 1.276 MB / 434.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7202, allocations: 7.938 kB / 434.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.7242, allocations: 3.081 MB / 437.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.7254, allocations: 458.5 kB / 438.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.7256, allocations: 28 kB / 438.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.7267, allocations: 78.86 kB / 438.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.727, allocations: 89.12 kB / 438.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.7271, allocations: 36 kB / 438.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.7292, allocations: 1.293 MB / 439.7 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7292, allocations: 0 / 439.7 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002548/0.7318, allocations: 0.53 MB / 440.2 MB, free: 15.55 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.0004813/0.7323, allocations: 161.3 kB / 440.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003999/0.7363, allocations: 2.221 MB / 442.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.7363, allocations: 0 / 442.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.738, allocations: 1.173 MB / 443.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.7409, allocations: 491.5 kB / 444.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.7537, allocations: 7.036 MB / 451.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.756, allocations: 2.216 MB / 453.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.757, allocations: 175.3 kB / 453.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of SimCode: time 1.884e-06/0.7571, allocations: 0 / 453.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of Templates: time 0.446/1.203, allocations: 85.8 MB / 0.5268 GB, free: 135.5 MB / 414.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