Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 92.61 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 201.6 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.697/1.697, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 8 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1312, allocations: 51.5 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.3319/0.4632, allocations: 35.01 MB / 393.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03389/0.4972, allocations: 9.876 MB / 403.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01321/0.5105, allocations: 280.7 kB / 404 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008656/0.5191, allocations: 1.66 MB / 405.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01528/0.5344, allocations: 2.807 MB / 408.5 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008152/0.5426, allocations: 1.55 MB / 410 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02767/0.5703, allocations: 13.85 MB / 423.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0549/0.6253, allocations: 19.91 MB / 443.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.639, allocations: 4.808 MB / 448.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01441/0.6535, allocations: 5.677 MB / 454.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004665/0.6582, allocations: 0.7617 MB / 455 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009199/0.6675, allocations: 1.136 MB / 456.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006505/0.674, allocations: 2.46 MB / 458.6 MB, free: 9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009265/0.6833, allocations: 2.523 MB / 461.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0363/0.7197, allocations: 21.71 MB / 482.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.7198, allocations: 0 / 482.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.7198, allocations: 0 / 482.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00106/0.7208, allocations: 0 / 482.8 MB, free: 0.6953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.04667/0.7675, allocations: 12.58 MB / 495.4 MB, free: 4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/0.7676, allocations: 12.03 kB / 495.4 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03551/0.8031, allocations: 6.15 MB / 0.4898 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/0.8244, allocations: 7.698 MB / 0.4973 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.8255, allocations: 0.9149 MB / 0.4982 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00542/0.8309, allocations: 1.191 MB / 0.4994 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05262/0.8835, allocations: 18.57 MB / 0.5175 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/0.8839, allocations: 19.81 kB / 0.5176 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/0.8857, allocations: 0.496 MB / 0.518 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005997/0.8863, allocations: 0.6499 MB / 0.5187 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6566/1.543, allocations: 16.65 MB / 0.5349 GB, free: 120.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/1.667, allocations: 59.71 MB / 0.5932 GB, free: 82.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/1.688, allocations: 33.15 MB / 0.6256 GB, free: 50.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006303/1.694, allocations: 3.752 MB / 0.6293 GB, free: 46.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/1.715, allocations: 8.898 MB / 0.638 GB, free: 37.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/1.715, allocations: 69.31 kB / 0.638 GB, free: 37.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=349): time 6.122e-06/1.715, allocations: 0 / 0.638 GB, free: 37.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=389): time 0.04183/1.757, allocations: 18.47 MB / 0.6561 GB, free: 18.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/1.757, allocations: 94.42 kB / 0.6562 GB, free: 18.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.767, allocations: 4.998 MB / 0.661 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007973/1.768, allocations: 85.7 kB / 0.6611 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004203/1.772, allocations: 5.451 MB / 0.6665 GB, free: 8.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/1.775, allocations: 1.355 MB / 0.6678 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.776, allocations: 132 kB / 0.6679 GB, free: 6.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000846/1.777, allocations: 0.5753 MB / 0.6685 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005782/1.783, allocations: 2.883 MB / 0.6713 GB, free: 3.309 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007713/1.79, allocations: 5.852 MB / 0.677 GB, free: 12.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008063/1.798, allocations: 4.195 MB / 0.6811 GB, free: 7.832 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.799, allocations: 32 kB / 0.6811 GB, free: 7.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02253/1.821, allocations: 9.796 MB / 0.6907 GB, free: 13.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.821, allocations: 50.19 kB / 0.6907 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/1.822, allocations: 100.4 kB / 0.6908 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/1.824, allocations: 0.9532 MB / 0.6918 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006374/1.831, allocations: 1.583 MB / 0.6933 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.844, allocations: 9.485 MB / 0.7026 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006735/1.85, allocations: 403.2 kB / 0.703 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/1.852, allocations: 352 kB / 0.7033 GB, free: 0.6055 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (816): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(8,62.5%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0118/1.864, allocations: 4.254 MB / 0.7074 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002503/1.867, allocations: 0.5093 MB / 0.7079 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/1.883, allocations: 6.489 MB / 0.7143 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/1.883, allocations: 36 kB / 0.7143 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.206e-05/1.884, allocations: 15.94 kB / 0.7143 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.053e-05/1.884, allocations: 19.92 kB / 0.7143 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3849/2.269, allocations: 15.7 MB / 0.7297 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/2.269, allocations: 2.844 kB / 0.7297 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/2.272, allocations: 0.7457 MB / 0.7304 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/2.274, allocations: 0.7841 MB / 0.7312 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005136/2.275, allocations: 87.64 kB / 0.7313 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/2.286, allocations: 8.66 MB / 0.7397 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.286, allocations: 2.688 kB / 0.7397 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02195/2.308, allocations: 9.456 MB / 0.749 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003961/2.312, allocations: 1.072 MB / 0.75 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002171/2.314, allocations: 71.94 kB / 0.7501 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/2.318, allocations: 224.5 kB / 0.7503 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/2.319, allocations: 263.3 kB / 0.7505 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006219/2.32, allocations: 114 kB / 0.7506 GB, free: 144.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008651/2.329, allocations: 3.319 MB / 0.7539 GB, free: 143.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.11e-07/2.329, allocations: 0.75 kB / 0.7539 GB, free: 143.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01052/2.339, allocations: 1.895 MB / 0.7557 GB, free: 143.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.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 (368): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,59.4%) 38,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/2.341, allocations: 266.5 kB / 0.756 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01479/2.355, allocations: 7.607 MB / 0.7634 GB, free: 139.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/2.355, allocations: 0 / 0.7634 GB, free: 139.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006458/2.362, allocations: 3.551 MB / 0.7669 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/2.372, allocations: 1.241 MB / 0.7681 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05253/2.425, allocations: 23.68 MB / 0.7912 GB, free: 113.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01486/2.44, allocations: 7.104 MB / 0.7982 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/2.442, allocations: 459.3 kB / 0.7986 GB, free: 107.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/2.442, allocations: 0 / 0.7986 GB, free: 107.3 MB / 494.1 MB Notification: Performance of Templates: time 1.197/3.639, allocations: 460.1 MB / 1.248 GB, free: 25.01 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o] Error 1